Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [: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.001007/0.001007, allocations: 193.7 kB / 7.807 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.4824/0.4824, allocations: 90.86 MB / 99.08 MB, free: 14.93 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.321/1.321, allocations: 221.4 MB / 342.8 MB, free: 5.133 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.001008/0.001008, allocations: 101.3 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.105e-06, allocations: 4 kB / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3992, allocations: 72.29 MB / 0.5529 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.5173, allocations: 101.2 MB / 0.6517 GB, free: 8.883 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.5175, allocations: 75.95 kB / 0.6518 GB, free: 8.809 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.006591/0.5241, allocations: 1.984 MB / 0.6537 GB, free: 6.855 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.5242, allocations: 4 kB / 0.6537 GB, free: 6.852 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000281/0.5245, allocations: 331.2 kB / 0.654 GB, free: 6.484 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5245, allocations: 8.906 kB / 0.654 GB, free: 6.477 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.5245, allocations: 3.906 kB / 0.654 GB, free: 6.473 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.5247, allocations: 160.5 kB / 0.6542 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5247, allocations: 0 / 0.6542 GB, free: 6.277 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.5247, allocations: 5.562 kB / 0.6542 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.652e-05/0.5248, allocations: 0 / 0.6542 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.212e-05/0.5248, allocations: 38.25 kB / 0.6542 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5248, allocations: 4.531 kB / 0.6542 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.5249, allocations: 0.7812 kB / 0.6542 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5249, allocations: 0 / 0.6542 GB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.525, allocations: 131.8 kB / 0.6544 GB, free: 6.062 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/0.5251, allocations: 22.61 kB / 0.6544 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/0.5251, allocations: 13.62 kB / 0.6544 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.5251, allocations: 0.5312 kB / 0.6544 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.5252, allocations: 34.5 kB / 0.6544 GB, free: 5.977 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.5252, allocations: 0 / 0.6544 GB, free: 5.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001316/0.5253, allocations: 46.64 kB / 0.6545 GB, free: 5.926 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.5253, allocations: 52.12 kB / 0.6545 GB, free: 5.863 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.5254, allocations: 89.5 kB / 0.6546 GB, free: 5.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.5254, allocations: 26.64 kB / 0.6546 GB, free: 5.738 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.5255, allocations: 80.14 kB / 0.6547 GB, free: 5.656 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.5255, allocations: 8.797 kB / 0.6547 GB, free: 5.648 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.5255, allocations: 0 / 0.6547 GB, free: 5.648 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5256, allocations: 315.4 kB / 0.655 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.5257, allocations: 4.844 kB / 0.655 GB, free: 5.328 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.5257, allocations: 0 / 0.655 GB, free: 5.328 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.447e-05/0.5257, allocations: 4.625 kB / 0.655 GB, free: 5.324 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5257, allocations: 0.5938 kB / 0.655 GB, free: 5.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.781e-05/0.5258, allocations: 34.23 kB / 0.6551 GB, free: 5.285 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.5258, allocations: 11.92 kB / 0.6551 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.5258, allocations: 0.5625 kB / 0.6551 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.5258, allocations: 1.375 kB / 0.6551 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.526, allocations: 11.94 kB / 0.6551 GB, free: 5.258 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003556/0.5263, allocations: 0.591 MB / 0.6557 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.5264, allocations: 6.031 kB / 0.6557 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.5264, allocations: 0 / 0.6557 GB, free: 4.641 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/0.5264, allocations: 110 kB / 0.6558 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.5265, allocations: 0.5 kB / 0.6558 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.957e-05/0.5266, allocations: 43.16 kB / 0.6558 GB, free: 4.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5266, allocations: 0 / 0.6558 GB, free: 4.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5266, allocations: 4.5 kB / 0.6558 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5266, allocations: 1.625 kB / 0.6558 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.523e-05/0.5267, allocations: 134.2 kB / 0.656 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5267, allocations: 0 / 0.656 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.5268, allocations: 11.98 kB / 0.656 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5268, allocations: 0 / 0.656 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.5268, allocations: 2.094 kB / 0.656 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002917/0.5271, allocations: 0.5885 MB / 0.6565 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5271, allocations: 6.984 kB / 0.6566 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.56e-05/0.5272, allocations: 58.42 kB / 0.6566 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.5272, allocations: 88.95 kB / 0.6567 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.5272, allocations: 0.6875 kB / 0.6567 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.5273, allocations: 0.6562 kB / 0.6567 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.5273, allocations: 7.969 kB / 0.6567 GB, free: 3.496 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.5273, allocations: 0.7188 kB / 0.6567 GB, free: 3.496 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.448e-05/0.5273, allocations: 79.94 kB / 0.6568 GB, free: 3.418 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.5275, allocations: 12.62 kB / 0.6568 GB, free: 3.406 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.5277, allocations: 107.8 kB / 0.6569 GB, free: 3.289 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.5279, allocations: 27.98 kB / 0.6569 GB, free: 3.262 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5279, allocations: 0 / 0.6569 GB, free: 3.262 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.528, allocations: 8 kB / 0.6569 GB, free: 3.254 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.5281, allocations: 4 kB / 0.6569 GB, free: 3.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.5283, allocations: 55.8 kB / 0.657 GB, free: 3.172 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.5286, allocations: 0.6841 MB / 0.6577 GB, free: 2.461 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5286, allocations: 4.125 kB / 0.6577 GB, free: 2.457 MB / 474.7 MB Notification: Performance of Templates: time 0.002327/0.5309, allocations: 443.7 kB / 0.6581 GB, free: 2.062 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)