Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") [: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.0052/0.0052, allocations: 178.9 kB / 7.454 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7159/0.7159, 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.787/1.787, allocations: 221.3 MB / 391.4 MB, free: 12.93 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.001308/0.001308, allocations: 108.1 kB / 473.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.098e-05, allocations: 3.594 kB / 0.5479 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1961, allocations: 81.58 MB / 0.6276 GB, free: 18.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.001/4.197, allocations: 1.832 GB / 2.46 GB, free: 41.23 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/4.197, allocations: 89.48 kB / 2.46 GB, free: 41.14 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.557/5.755, allocations: 346.1 MB / 2.798 GB, free: 161.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.322e-05/5.755, allocations: 9.688 kB / 2.798 GB, free: 161.2 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.002338/5.757, allocations: 0.677 MB / 2.798 GB, free: 160.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/5.757, allocations: 10.38 kB / 2.798 GB, free: 160.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006697/5.758, allocations: 65.47 kB / 2.798 GB, free: 160.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/5.759, allocations: 325.4 kB / 2.799 GB, free: 160.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/5.759, allocations: 7.406 kB / 2.799 GB, free: 160.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/5.759, allocations: 15.47 kB / 2.799 GB, free: 160.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002769/5.759, allocations: 113.8 kB / 2.799 GB, free: 160.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/5.759, allocations: 251.4 kB / 2.799 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/5.759, allocations: 0 / 2.799 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/5.759, allocations: 14.95 kB / 2.799 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/5.759, allocations: 3.625 kB / 2.799 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/5.761, allocations: 1.675 MB / 2.801 GB, free: 159.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/5.761, allocations: 76.23 kB / 2.801 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/5.761, allocations: 60.47 kB / 2.801 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/5.762, allocations: 192.7 kB / 2.801 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/5.762, allocations: 34.38 kB / 2.801 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/5.762, allocations: 3.844 kB / 2.801 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0005328/5.762, allocations: 147 kB / 2.801 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/5.762, allocations: 55.28 kB / 2.801 GB, free: 158.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/5.763, allocations: 228 kB / 2.802 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/5.763, allocations: 29.61 kB / 2.802 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/5.763, allocations: 173.7 kB / 2.802 GB, free: 158.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/5.763, allocations: 39.8 kB / 2.802 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/5.763, allocations: 0 / 2.802 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/5.763, allocations: 338.2 kB / 2.802 GB, free: 158.2 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/5.763, allocations: 40.89 kB / 2.802 GB, free: 158.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/5.763, allocations: 190.2 kB / 2.802 GB, free: 158 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/5.763, allocations: 68.27 kB / 2.802 GB, free: 158 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/5.763, allocations: 0 / 2.802 GB, free: 158 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002996/5.764, allocations: 197 kB / 2.803 GB, free: 158 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000384/5.764, allocations: 1.393 MB / 2.804 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/5.764, allocations: 3.188 kB / 2.804 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/5.764, allocations: 11.62 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/5.764, allocations: 54.86 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/5.764, allocations: 5.281 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/5.765, allocations: 35 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/5.765, allocations: 17.91 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/5.765, allocations: 2.75 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002189/5.765, allocations: 147.4 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/5.765, allocations: 0 / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/5.765, allocations: 7.656 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/5.765, allocations: 51.31 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/5.765, allocations: 15.06 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/5.765, allocations: 29.38 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/5.765, allocations: 14.34 kB / 2.804 GB, free: 156.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.354e-05/5.765, allocations: 118.6 kB / 2.804 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/5.766, allocations: 25.14 kB / 2.804 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/5.766, allocations: 133.8 kB / 2.805 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/5.766, allocations: 3.219 kB / 2.805 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/5.766, allocations: 3.906 kB / 2.805 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/5.766, allocations: 3.703 kB / 2.805 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/5.767, allocations: 0.5312 MB / 2.805 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/5.767, allocations: 7.688 kB / 2.805 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/5.767, allocations: 25.77 kB / 2.805 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/5.767, allocations: 3.906 kB / 2.805 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/5.767, allocations: 3.797 kB / 2.805 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/5.767, allocations: 7.531 kB / 2.805 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/5.767, allocations: 3.562 kB / 2.805 GB, free: 156 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003187/5.767, allocations: 348.3 kB / 2.805 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/5.767, allocations: 115.5 kB / 2.806 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/5.767, allocations: 9.391 kB / 2.806 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/5.768, allocations: 17.92 kB / 2.806 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/5.768, allocations: 14.52 kB / 2.806 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/5.768, allocations: 7.594 kB / 2.806 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000167/5.768, allocations: 174.4 kB / 2.806 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001087/5.769, allocations: 224.2 kB / 2.806 GB, free: 155.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.003016/5.772, allocations: 1.426 MB / 2.807 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005029/5.772, allocations: 198.8 kB / 2.808 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/5.772, allocations: 0 / 2.808 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/5.773, allocations: 50.03 kB / 2.808 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008142/5.773, allocations: 105.3 kB / 2.808 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/5.774, allocations: 350 kB / 2.808 GB, free: 155 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/5.775, allocations: 0.8091 MB / 2.809 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of SimCode: time 3.176e-06/5.775, allocations: 0 / 2.809 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.02122/5.796, allocations: 11.78 MB / 2.82 GB, free: 154.1 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)