Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [: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.001584/0.001584, allocations: 189 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4713/0.4713, allocations: 90.85 MB / 99.08 MB, free: 14.92 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.296/1.296, allocations: 221.4 MB / 342.7 MB, free: 5.41 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.0009254/0.0009257, allocations: 81.11 kB / 415.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.12e-05/1.121e-05, allocations: 4 kB / 493.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3691, allocations: 72.31 MB / 0.5529 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4891, allocations: 101.3 MB / 0.6518 GB, free: 7.336 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4893, allocations: 76.64 kB / 0.6519 GB, free: 7.262 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.009985/0.4993, allocations: 3.135 MB / 0.6549 GB, free: 4.137 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.4994, allocations: 0 / 0.6549 GB, free: 4.137 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.0003083/0.4997, allocations: 338.3 kB / 0.6553 GB, free: 3.762 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4998, allocations: 8.031 kB / 0.6553 GB, free: 3.754 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.4998, allocations: 11.91 kB / 0.6553 GB, free: 3.742 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.4999, allocations: 163.1 kB / 0.6554 GB, free: 3.543 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.4999, allocations: 0 / 0.6554 GB, free: 3.543 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-06/0.5, allocations: 0 / 0.6554 GB, free: 3.543 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.55e-05/0.5, allocations: 4 kB / 0.6554 GB, free: 3.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.716e-05/0.5001, allocations: 33.64 kB / 0.6555 GB, free: 3.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5001, allocations: 4.734 kB / 0.6555 GB, free: 3.496 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.5001, allocations: 3.906 kB / 0.6555 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5001, allocations: 0 / 0.6555 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.5002, allocations: 126.2 kB / 0.6556 GB, free: 3.332 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.5003, allocations: 34.61 kB / 0.6556 GB, free: 3.289 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.03e-05/0.5003, allocations: 4.859 kB / 0.6556 GB, free: 3.281 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.5004, allocations: 0 / 0.6556 GB, free: 3.281 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.5004, allocations: 34.62 kB / 0.6557 GB, free: 3.238 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.5004, allocations: 2.344 kB / 0.6557 GB, free: 3.238 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001264/0.5005, allocations: 45.53 kB / 0.6557 GB, free: 3.188 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.5006, allocations: 55.44 kB / 0.6558 GB, free: 3.121 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.5006, allocations: 89 kB / 0.6559 GB, free: 3.027 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.5006, allocations: 25.7 kB / 0.6559 GB, free: 2.996 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.5007, allocations: 80.14 kB / 0.656 GB, free: 2.914 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.5007, allocations: 4 kB / 0.656 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.5007, allocations: 0 / 0.656 GB, free: 2.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5008, allocations: 318.8 kB / 0.6563 GB, free: 2.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.5009, allocations: 0 / 0.6563 GB, free: 2.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.5009, allocations: 8.125 kB / 0.6563 GB, free: 2.582 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.381e-05/0.5009, allocations: 3.984 kB / 0.6563 GB, free: 2.578 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5009, allocations: 0 / 0.6563 GB, free: 2.578 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.304e-05/0.501, allocations: 33.7 kB / 0.6563 GB, free: 2.539 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.501, allocations: 4 kB / 0.6563 GB, free: 2.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.501, allocations: 4 kB / 0.6563 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.501, allocations: 0 / 0.6563 GB, free: 2.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.5012, allocations: 11.98 kB / 0.6563 GB, free: 2.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003661/0.5015, allocations: 0.6003 MB / 0.6569 GB, free: 1.898 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.5016, allocations: 0 / 0.6569 GB, free: 1.898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.5016, allocations: 4 kB / 0.6569 GB, free: 1.895 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 6.925e-05/0.5016, allocations: 104.9 kB / 0.657 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.5017, allocations: 0 / 0.657 GB, free: 1.785 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.5018, allocations: 45.09 kB / 0.6571 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5018, allocations: 4 kB / 0.6571 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5018, allocations: 3 kB / 0.6571 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5018, allocations: 0 / 0.6571 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.129e-05/0.5019, allocations: 134.1 kB / 0.6572 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5019, allocations: 3.938 kB / 0.6572 GB, free: 1.559 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.502, allocations: 15.98 kB / 0.6572 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.502, allocations: 0 / 0.6572 GB, free: 1.543 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.502, allocations: 4 kB / 0.6572 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003421/0.5023, allocations: 0.5899 MB / 0.6578 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5024, allocations: 0 / 0.6578 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.11e-05/0.5024, allocations: 61.12 kB / 0.6579 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/0.5025, allocations: 81.02 kB / 0.6579 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.5025, allocations: 0 / 0.6579 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.5025, allocations: 4.125 kB / 0.6579 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.5025, allocations: 7.938 kB / 0.6579 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.5025, allocations: 0 / 0.6579 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.161e-05/0.5026, allocations: 75.28 kB / 0.658 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001885/0.5028, allocations: 19.92 kB / 0.658 GB, free: 0.6445 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.0001729/0.5029, allocations: 111.2 kB / 0.6581 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.5031, allocations: 20 kB / 0.6582 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5031, allocations: 4.156 kB / 0.6582 GB, free: 0.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.5032, allocations: 11.98 kB / 0.6582 GB, free: 500 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.5033, allocations: 4 kB / 0.6582 GB, free: 496 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001685/0.5035, allocations: 51.86 kB / 0.6582 GB, free: 420 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.5038, allocations: 0.6841 MB / 0.6589 GB, free: 15.7 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5038, allocations: 3.938 kB / 0.6589 GB, free: 15.7 MB / 490.7 MB Notification: Performance of Templates: time 0.002187/0.506, allocations: 423.8 kB / 0.6593 GB, free: 15.3 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)