Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 108.3 kB / 17.03 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 193.4 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7019/0.7019, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 55.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3312, allocations: 76.14 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002172/0.3334, allocations: 1.266 MB / 0.5588 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.3343, allocations: 0.6124 MB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.3344, allocations: 1.875 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.3344, allocations: 0 / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.582e-05/0.3345, allocations: 6.562 kB / 0.5594 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.335, allocations: 146.3 kB / 0.5595 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.3351, allocations: 24.47 kB / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.3351, allocations: 2.641 kB / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.708e-05/0.3352, allocations: 6.25 kB / 0.5596 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.3352, allocations: 17.77 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3353, allocations: 6.969 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005522/0.3358, allocations: 340.8 kB / 0.5599 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.3358, allocations: 6.297 kB / 0.5599 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.831e-05/0.3359, allocations: 12.03 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.3362, allocations: 148.1 kB / 0.5601 GB, free: 35.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3362, allocations: 2.625 kB / 0.5601 GB, free: 35.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3362, allocations: 0 / 0.5601 GB, free: 35.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3362, allocations: 0 / 0.5601 GB, free: 35.03 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003621/0.3366, allocations: 354.1 kB / 0.5604 GB, free: 34.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3366, allocations: 10.47 kB / 0.5604 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.3366, allocations: 8.141 kB / 0.5604 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.14e-05/0.3367, allocations: 166.5 kB / 0.5606 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3368, allocations: 1.969 kB / 0.5606 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3368, allocations: 2.484 kB / 0.5606 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3369, allocations: 42.23 kB / 0.5606 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3369, allocations: 192 / 0.5606 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3369, allocations: 8.75 kB / 0.5607 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3369, allocations: 1.688 kB / 0.5607 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.337, allocations: 14.06 kB / 0.5607 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.3371, allocations: 155.5 kB / 0.5608 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3373, allocations: 44.44 kB / 0.5609 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3374, allocations: 19.75 kB / 0.5609 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.3374, allocations: 0.5625 kB / 0.5609 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.3374, allocations: 37.56 kB / 0.5609 GB, free: 34.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.3374, allocations: 0 / 0.5609 GB, free: 34.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005638/0.338, allocations: 308.5 kB / 0.5612 GB, free: 33.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.338, allocations: 56.03 kB / 0.5613 GB, free: 33.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.323e-05/0.3381, allocations: 99.31 kB / 0.5614 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.3381, allocations: 26.77 kB / 0.5614 GB, free: 33.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.63e-05/0.3381, allocations: 81.33 kB / 0.5615 GB, free: 33.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3381, allocations: 24.38 kB / 0.5615 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.3382, allocations: 23.17 kB / 0.5615 GB, free: 33.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.3382, allocations: 315.1 kB / 0.5618 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.3382, allocations: 11.73 kB / 0.5618 GB, free: 33.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.3383, allocations: 13.61 kB / 0.5618 GB, free: 33.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.3383, allocations: 37.64 kB / 0.5619 GB, free: 33.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3383, allocations: 0 / 0.5619 GB, free: 33.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.601e-05/0.3384, allocations: 68.64 kB / 0.5619 GB, free: 33.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3385, allocations: 10.2 kB / 0.5619 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3385, allocations: 64 / 0.5619 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3385, allocations: 10.62 kB / 0.562 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.3385, allocations: 11.41 kB / 0.562 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3385, allocations: 0 / 0.562 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.3386, allocations: 2.922 kB / 0.562 GB, free: 33.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.3386, allocations: 1.281 kB / 0.562 GB, free: 33.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.3386, allocations: 115.3 kB / 0.5621 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.3386, allocations: 7 kB / 0.5621 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.3388, allocations: 75.89 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3388, allocations: 1.531 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3388, allocations: 0.75 kB / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3388, allocations: 0 / 0.5622 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.339, allocations: 319.5 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.339, allocations: 1.188 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.3391, allocations: 10.44 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3391, allocations: 1.75 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3391, allocations: 2.031 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3391, allocations: 2.078 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3391, allocations: 1.906 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.3393, allocations: 184.4 kB / 0.5627 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.3393, allocations: 82.8 kB / 0.5627 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.3393, allocations: 2.375 kB / 0.5627 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.3394, allocations: 5.406 kB / 0.5627 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.3394, allocations: 9.922 kB / 0.5628 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.3395, allocations: 2.719 kB / 0.5628 GB, free: 32.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.026e-05/0.3395, allocations: 80.22 kB / 0.5628 GB, free: 32.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3395, allocations: 0 / 0.5628 GB, free: 32.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3397, allocations: 23.89 kB / 0.5629 GB, free: 32.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001392/0.3399, allocations: 128.8 kB / 0.563 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.343e-05/0.34, allocations: 36.66 kB / 0.563 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.34, allocations: 1.781 kB / 0.563 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.34, allocations: 18.05 kB / 0.563 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.3402, allocations: 7.891 kB / 0.563 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.3406, allocations: 185.4 kB / 0.5632 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3407, allocations: 0.6834 MB / 0.5639 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.864e-05/0.3408, allocations: 4.719 kB / 0.5639 GB, free: 31.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.3408, allocations: 15.5 kB / 0.5639 GB, free: 31.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3408, allocations: 2.25 kB / 0.5639 GB, free: 31.32 MB / 446.1 MB Notification: Performance of Templates: time 0.002631/0.3434, allocations: 0.6545 MB / 0.5645 GB, free: 31.29 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)