Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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/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/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.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [: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.003707/0.003707, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.739/0.739, allocations: 130.6 MB / 138.5 MB, free: 2.145 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.3 MB / 391.4 MB, free: 13.02 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.001041/0.001041, allocations: 101.5 kB / 473.5 MB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/9.908e-06, allocations: 2.812 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.469/4.636, allocations: 1.831 GB / 2.458 GB, free: 45.29 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/4.637, allocations: 87.95 kB / 2.459 GB, free: 45.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.093/5.73, allocations: 306.1 MB / 2.758 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.585e-05/5.73, allocations: 11.98 kB / 2.758 GB, free: 2.785 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002009/5.732, allocations: 0.7094 MB / 2.758 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/5.732, allocations: 8.031 kB / 2.758 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/5.734, allocations: 139.3 kB / 2.758 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008373/5.735, allocations: 349.9 kB / 2.759 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/5.735, allocations: 38.36 kB / 2.759 GB, free: 1.465 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-05/5.735, allocations: 16 kB / 2.759 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004481/5.735, allocations: 209.2 kB / 2.759 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/5.736, allocations: 302 kB / 2.759 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/5.736, allocations: 4 kB / 2.759 GB, free: 0.9219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/5.736, allocations: 3.938 kB / 2.759 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/5.736, allocations: 11.91 kB / 2.759 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.448/6.184, allocations: 1.408 MB / 2.761 GB, free: 220.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/6.184, allocations: 174.6 kB / 2.761 GB, free: 220.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/6.184, allocations: 98.42 kB / 2.761 GB, free: 220.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009635/6.185, allocations: 0.4991 MB / 2.761 GB, free: 220.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/6.185, allocations: 37.59 kB / 2.761 GB, free: 220.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 4.258e-06/6.185, allocations: 0 / 2.761 GB, free: 220.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.001049/6.186, allocations: 290.7 kB / 2.762 GB, free: 220.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/6.186, allocations: 55.06 kB / 2.762 GB, free: 220.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/6.187, allocations: 194.7 kB / 2.762 GB, free: 220 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/6.187, allocations: 25.7 kB / 2.762 GB, free: 219.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/6.187, allocations: 168.6 kB / 2.762 GB, free: 219.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/6.187, allocations: 48.7 kB / 2.762 GB, free: 219.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/6.187, allocations: 0 / 2.762 GB, free: 219.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.111e-05/6.187, allocations: 329.3 kB / 2.762 GB, free: 219.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/6.187, allocations: 73.31 kB / 2.763 GB, free: 219.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/6.187, allocations: 134.3 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/6.188, allocations: 141.9 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/6.188, allocations: 0 / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000674/6.188, allocations: 277.2 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/6.188, allocations: 13.28 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/6.188, allocations: 0 / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/6.188, allocations: 7.281 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/6.189, allocations: 45.33 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/6.189, allocations: 0 / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/6.189, allocations: 33.53 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/6.189, allocations: 21.77 kB / 2.763 GB, free: 219.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.713e-05/6.189, allocations: 104.5 kB / 2.763 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/6.189, allocations: 23 kB / 2.763 GB, free: 219.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/6.19, allocations: 316.9 kB / 2.764 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/6.19, allocations: 3.906 kB / 2.764 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/6.19, allocations: 10.44 kB / 2.764 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/6.19, allocations: 3.75 kB / 2.764 GB, free: 219.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/6.192, allocations: 1.239 MB / 2.765 GB, free: 218.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/6.192, allocations: 3 kB / 2.765 GB, free: 218.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/6.192, allocations: 38.83 kB / 2.765 GB, free: 218.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/6.192, allocations: 10.22 kB / 2.765 GB, free: 218.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/6.192, allocations: 3.938 kB / 2.765 GB, free: 218.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/6.192, allocations: 8 kB / 2.765 GB, free: 218.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/6.192, allocations: 3.531 kB / 2.765 GB, free: 218.5 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006155/6.193, allocations: 0.5338 MB / 2.765 GB, free: 218.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/6.193, allocations: 127.6 kB / 2.766 GB, free: 218 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/6.193, allocations: 3.781 kB / 2.766 GB, free: 218 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/6.193, allocations: 33.52 kB / 2.766 GB, free: 218 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/6.193, allocations: 18.27 kB / 2.766 GB, free: 218 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/6.193, allocations: 10.91 kB / 2.766 GB, free: 218 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000111/6.194, allocations: 158.2 kB / 2.766 GB, free: 217.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008878/6.194, allocations: 198.8 kB / 2.766 GB, free: 217.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002065/6.196, allocations: 1.42 MB / 2.767 GB, free: 217.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003243/6.197, allocations: 179.3 kB / 2.767 GB, free: 217.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/6.197, allocations: 3.219 kB / 2.767 GB, free: 217.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/6.197, allocations: 109 kB / 2.768 GB, free: 217.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/6.198, allocations: 75.78 kB / 2.768 GB, free: 217.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/6.199, allocations: 439.9 kB / 2.768 GB, free: 217.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/6.199, allocations: 0.8265 MB / 2.769 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of SimCode: time 2.1e-07/6.199, allocations: 2.625 kB / 2.769 GB, free: 216.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.02049/6.219, allocations: 12.24 MB / 2.781 GB, free: 216.5 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)