Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [: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.002791/0.002791, allocations: 179.2 kB / 7.455 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.6567/0.6567, allocations: 130.6 MB / 138.5 MB, free: 2.207 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.478/1.478, allocations: 221.3 MB / 391.4 MB, free: 13 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.001091/0.001091, allocations: 101.7 kB / 473.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.628e-06, allocations: 7.125 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8894/1.047, allocations: 355.9 MB / 0.9752 GB, free: 251.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.047, allocations: 92.91 kB / 0.9753 GB, free: 251.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.4514/1.499, allocations: 240 MB / 1.21 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.399e-05/1.499, allocations: 19.94 kB / 1.21 GB, free: 13.89 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001995/1.501, allocations: 0.9733 MB / 1.211 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/1.501, allocations: 8.031 kB / 1.211 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/1.501, allocations: 82.97 kB / 1.211 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.502, allocations: 0.519 MB / 1.211 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/1.502, allocations: 16 kB / 1.211 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/1.502, allocations: 32 kB / 1.211 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006376/1.503, allocations: 353.9 kB / 1.212 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/1.503, allocations: 0.5137 MB / 1.212 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.503, allocations: 0 / 1.212 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/1.504, allocations: 4 kB / 1.212 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/1.504, allocations: 12 kB / 1.212 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/1.506, allocations: 3.125 MB / 1.215 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/1.507, allocations: 276.2 kB / 1.215 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/1.507, allocations: 186.2 kB / 1.216 GB, free: 7.48 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/1.507, allocations: 344.4 kB / 1.216 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/1.507, allocations: 38.56 kB / 1.216 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=38): time 1.954e-06/1.507, allocations: 0 / 1.216 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of matching and sorting (n=38): time 0.002177/1.51, allocations: 0.7162 MB / 1.217 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/1.51, allocations: 59.31 kB / 1.217 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/1.51, allocations: 447.4 kB / 1.217 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/1.51, allocations: 25.7 kB / 1.217 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/1.51, allocations: 256.2 kB / 1.217 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/1.51, allocations: 126.1 kB / 1.217 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/1.51, allocations: 0 / 1.217 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.673e-05/1.51, allocations: 366.8 kB / 1.218 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/1.511, allocations: 149.3 kB / 1.218 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/1.511, allocations: 327.1 kB / 1.218 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.512, allocations: 472.2 kB / 1.219 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.512, allocations: 0 / 1.219 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002096/1.515, allocations: 0.8306 MB / 1.22 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003153/1.515, allocations: 1.74 MB / 1.221 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.515, allocations: 8 kB / 1.221 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/1.515, allocations: 108.8 kB / 1.221 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/1.516, allocations: 143.8 kB / 1.222 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009658/1.517, allocations: 0.7356 MB / 1.222 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/1.518, allocations: 91.53 kB / 1.222 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/1.518, allocations: 28.05 kB / 1.222 GB, free: 152 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/1.518, allocations: 4 kB / 1.222 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2476/1.765, allocations: 0.7085 MB / 1.223 GB, free: 233 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.765, allocations: 11.42 kB / 1.223 GB, free: 233 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.765, allocations: 10.47 kB / 1.223 GB, free: 233 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/1.766, allocations: 160.2 kB / 1.223 GB, free: 233 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.766, allocations: 10.5 kB / 1.223 GB, free: 233 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/1.767, allocations: 88.41 kB / 1.223 GB, free: 233 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/1.767, allocations: 29.92 kB / 1.223 GB, free: 233 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/1.767, allocations: 117 kB / 1.223 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/1.768, allocations: 65.3 kB / 1.224 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/1.77, allocations: 0.817 MB / 1.224 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/1.77, allocations: 3.625 kB / 1.224 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.77, allocations: 0 / 1.224 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.77, allocations: 3.609 kB / 1.224 GB, free: 232.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/1.773, allocations: 1.476 MB / 1.226 GB, free: 232.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.773, allocations: 0 / 1.226 GB, free: 232.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/1.773, allocations: 97.56 kB / 1.226 GB, free: 232.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/1.774, allocations: 120.5 kB / 1.226 GB, free: 232.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/1.774, allocations: 7.828 kB / 1.226 GB, free: 232.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008056/1.774, allocations: 0.7158 MB / 1.227 GB, free: 232 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.775, allocations: 1.875 kB / 1.227 GB, free: 232 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00183/1.776, allocations: 0.9221 MB / 1.228 GB, free: 231.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/1.777, allocations: 190.8 kB / 1.228 GB, free: 231.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/1.777, allocations: 3.031 kB / 1.228 GB, free: 231.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/1.777, allocations: 58.69 kB / 1.228 GB, free: 231.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/1.777, allocations: 34.05 kB / 1.228 GB, free: 231.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/1.777, allocations: 15.33 kB / 1.228 GB, free: 231.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.00031/1.778, allocations: 337.2 kB / 1.228 GB, free: 231.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001155/1.779, allocations: 392.4 kB / 1.229 GB, free: 231.6 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007525/1.78, allocations: 420.3 kB / 1.229 GB, free: 231.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00132/1.781, allocations: 0.7247 MB / 1.23 GB, free: 231.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.781, allocations: 2.734 kB / 1.23 GB, free: 231.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004229/1.781, allocations: 238.1 kB / 1.23 GB, free: 231.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.782, allocations: 220.9 kB / 1.23 GB, free: 231.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/1.784, allocations: 0.7554 MB / 1.231 GB, free: 231.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004428/1.784, allocations: 0.9974 MB / 1.232 GB, free: 230.5 MB / 0.6667 GB Notification: Performance of SimCode: time 4e-07/1.784, allocations: 0 / 1.232 GB, free: 230.5 MB / 0.6667 GB Notification: Performance of Templates: time 0.01983/1.804, allocations: 14.15 MB / 1.246 GB, free: 230.3 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)