Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 186.5 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.434/0.434, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.4 MB / 342.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009132, allocations: 100.2 kB / 415.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.514e-06, allocations: 0 / 493.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3671, allocations: 72.31 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4949, allocations: 101.5 MB / 0.6521 GB, free: 7.109 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4953, allocations: 77.11 kB / 0.6521 GB, free: 7.035 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01188/0.5071, allocations: 3.694 MB / 0.6557 GB, free: 3.352 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.5072, allocations: 0 / 0.6557 GB, free: 3.352 MB / 474.7 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.0003892/0.5076, allocations: 338.4 kB / 0.6561 GB, free: 2.977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5077, allocations: 8.031 kB / 0.6561 GB, free: 2.969 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.5077, allocations: 7.906 kB / 0.6561 GB, free: 2.961 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.5079, allocations: 169.5 kB / 0.6562 GB, free: 2.758 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5079, allocations: 4 kB / 0.6562 GB, free: 2.754 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.508, allocations: 7.906 kB / 0.6563 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.746e-05/0.508, allocations: 7.938 kB / 0.6563 GB, free: 2.738 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.5081, allocations: 41.69 kB / 0.6563 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.5082, allocations: 0 / 0.6563 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.5082, allocations: 0 / 0.6563 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5082, allocations: 0 / 0.6563 GB, free: 2.691 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.5084, allocations: 134.2 kB / 0.6564 GB, free: 2.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.5086, allocations: 29.75 kB / 0.6565 GB, free: 2.488 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.5086, allocations: 20.77 kB / 0.6565 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.5087, allocations: 0 / 0.6565 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.5087, allocations: 34.56 kB / 0.6565 GB, free: 2.422 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.5087, allocations: 4 kB / 0.6565 GB, free: 2.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.000585/0.5093, allocations: 274.4 kB / 0.6568 GB, free: 2.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5094, allocations: 55.41 kB / 0.6568 GB, free: 2.031 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.5094, allocations: 93 kB / 0.6569 GB, free: 1.934 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5095, allocations: 25.7 kB / 0.6569 GB, free: 1.902 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.5095, allocations: 80.14 kB / 0.657 GB, free: 1.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.5096, allocations: 27.64 kB / 0.657 GB, free: 1.793 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.5096, allocations: 0 / 0.657 GB, free: 1.793 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5097, allocations: 310.8 kB / 0.6573 GB, free: 1.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.5098, allocations: 11.94 kB / 0.6574 GB, free: 1.469 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.5098, allocations: 11.52 kB / 0.6574 GB, free: 1.461 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.5098, allocations: 12 kB / 0.6574 GB, free: 1.449 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5098, allocations: 4 kB / 0.6574 GB, free: 1.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001028/0.5099, allocations: 63.38 kB / 0.6574 GB, free: 1.379 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.51, allocations: 7.938 kB / 0.6574 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.51, allocations: 0 / 0.6574 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.51, allocations: 0 / 0.6574 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.5101, allocations: 20.05 kB / 0.6575 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.5101, allocations: 0 / 0.6575 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.5101, allocations: 0 / 0.6575 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.5101, allocations: 0 / 0.6575 GB, free: 1.352 MB / 474.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.484e-05/0.5102, allocations: 112.9 kB / 0.6576 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.5102, allocations: 7.891 kB / 0.6576 GB, free: 1.227 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.5104, allocations: 65.73 kB / 0.6576 GB, free: 1.152 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.5104, allocations: 4 kB / 0.6576 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5104, allocations: 0 / 0.6576 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5104, allocations: 0 / 0.6576 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.5108, allocations: 287.9 kB / 0.6579 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5108, allocations: 0.5938 kB / 0.6579 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.5108, allocations: 16 kB / 0.6579 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5109, allocations: 0 / 0.6579 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.5109, allocations: 0 / 0.6579 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.5109, allocations: 7.984 kB / 0.6579 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5109, allocations: 0 / 0.6579 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002013/0.5111, allocations: 190.6 kB / 0.6581 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.5112, allocations: 81.17 kB / 0.6582 GB, free: 500 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.5112, allocations: 7.984 kB / 0.6582 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.5113, allocations: 0 / 0.6582 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.5113, allocations: 0 / 0.6582 GB, free: 492 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.5113, allocations: 4.188 kB / 0.6582 GB, free: 488 kB / 474.7 MB Notification: Performance of sort global known variables: time 4.532e-05/0.5113, allocations: 83.34 kB / 0.6583 GB, free: 404 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.5116, allocations: 27.98 kB / 0.6583 GB, free: 376 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.5118, allocations: 123.7 kB / 0.6584 GB, free: 244 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.512, allocations: 43.14 kB / 0.6585 GB, free: 204 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.512, allocations: 0 / 0.6585 GB, free: 204 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.512, allocations: 12 kB / 0.6585 GB, free: 192 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.5122, allocations: 13.39 kB / 0.6585 GB, free: 180 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.5125, allocations: 133.5 kB / 0.6586 GB, free: 20 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.5129, allocations: 0.6997 MB / 0.6593 GB, free: 15.29 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5129, allocations: 0 / 0.6593 GB, free: 15.29 MB / 490.7 MB Notification: Performance of Templates: time 0.002884/0.5158, allocations: 0.6418 MB / 0.6599 GB, free: 14.68 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)