Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") translateModel(IDEAS.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h") [: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.001938/0.001938, allocations: 174.8 kB / 7.459 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6021/0.6021, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008545/0.0008545, allocations: 96.53 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.591e-06/5.611e-06, allocations: 0 / 0.5528 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.59/2.699, allocations: 1.832 GB / 2.466 GB, free: 132 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/2.699, allocations: 83.95 kB / 2.466 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.119/3.818, allocations: 414.7 MB / 2.871 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.208e-05/3.818, allocations: 18.97 kB / 2.871 GB, free: 149.9 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001614/3.82, allocations: 0.8575 MB / 2.871 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/3.82, allocations: 12.88 kB / 2.871 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/3.82, allocations: 67.84 kB / 2.871 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/3.821, allocations: 416.4 kB / 2.872 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/3.821, allocations: 17.12 kB / 2.872 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/3.821, allocations: 32.72 kB / 2.872 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004415/3.821, allocations: 287.9 kB / 2.872 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006607/3.822, allocations: 0.5986 MB / 2.873 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/3.822, allocations: 7.219 kB / 2.873 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/3.822, allocations: 0 / 2.873 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/3.822, allocations: 39.69 kB / 2.873 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/3.824, allocations: 2.986 MB / 2.876 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/3.824, allocations: 207.8 kB / 2.876 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/3.824, allocations: 114.4 kB / 2.876 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/3.824, allocations: 9.469 kB / 2.876 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/3.824, allocations: 43.88 kB / 2.876 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/3.824, allocations: 4.938 kB / 2.876 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003779/3.825, allocations: 138.6 kB / 2.876 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/3.825, allocations: 287 kB / 2.876 GB, free: 146 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/3.825, allocations: 218 kB / 2.877 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/3.825, allocations: 32.05 kB / 2.877 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/3.825, allocations: 260.1 kB / 2.877 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/3.825, allocations: 36.25 kB / 2.877 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/3.825, allocations: 3.844 kB / 2.877 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/3.825, allocations: 333 kB / 2.877 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/3.825, allocations: 25.97 kB / 2.877 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/3.825, allocations: 96.38 kB / 2.877 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/3.825, allocations: 42.17 kB / 2.877 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/3.825, allocations: 3.344 kB / 2.877 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001372/3.825, allocations: 121 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/3.825, allocations: 11.34 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/3.825, allocations: 6.188 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/3.825, allocations: 2.188 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/3.825, allocations: 30.52 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/3.825, allocations: 2.438 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/3.826, allocations: 24.11 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/3.826, allocations: 9.969 kB / 2.878 GB, free: 145.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.253e-05/3.826, allocations: 111.3 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/3.826, allocations: 28.56 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/3.826, allocations: 31.2 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/3.826, allocations: 5.891 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/3.826, allocations: 2.75 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/3.826, allocations: 7.188 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009505/3.827, allocations: 1.221 MB / 2.879 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/3.827, allocations: 3.875 kB / 2.879 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/3.827, allocations: 23.88 kB / 2.879 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/3.827, allocations: 9.094 kB / 2.879 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/3.827, allocations: 7.062 kB / 2.879 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/3.827, allocations: 6.906 kB / 2.879 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/3.827, allocations: 3.188 kB / 2.879 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001692/3.827, allocations: 374.3 kB / 2.879 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/3.827, allocations: 110.4 kB / 2.88 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/3.827, allocations: 6.531 kB / 2.88 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/3.828, allocations: 17 kB / 2.88 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/3.828, allocations: 20.69 kB / 2.88 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/3.828, allocations: 10.31 kB / 2.88 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001008/3.828, allocations: 176.7 kB / 2.88 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005804/3.828, allocations: 218.4 kB / 2.88 GB, free: 143.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001623/3.83, allocations: 1.643 MB / 2.882 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001371/3.83, allocations: 70.09 kB / 2.882 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/3.83, allocations: 6.578 kB / 2.882 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/3.83, allocations: 50.23 kB / 2.882 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/3.831, allocations: 92.45 kB / 2.882 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007744/3.831, allocations: 0.5882 MB / 2.882 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/3.832, allocations: 0.9321 MB / 2.883 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/3.832, allocations: 0 / 2.883 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.01578/3.847, allocations: 11.86 MB / 2.895 GB, free: 142.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)