Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.462/1.462, allocations: 289.8 MB / 297.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001125, allocations: 177.3 kB / 366.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 0.6256 GB, free: 5.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008115/0.0008115, allocations: 91.11 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.185e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.559/0.559, allocations: 116.3 MB / 0.9726 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7737/1.333, allocations: 396.9 MB / 1.36 GB, free: 89.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/1.333, allocations: 87.27 kB / 1.36 GB, free: 89.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.8325/2.165, allocations: 235.1 MB / 1.59 GB, free: 272.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.573e-05/2.166, allocations: 24.36 kB / 1.59 GB, free: 272.5 MB / 0.948 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.001717/2.167, allocations: 0.9687 MB / 1.591 GB, free: 272.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/2.167, allocations: 11.22 kB / 1.591 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/2.167, allocations: 81.56 kB / 1.591 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/2.168, allocations: 0.5135 MB / 1.591 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/2.168, allocations: 13.97 kB / 1.591 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/2.168, allocations: 29.19 kB / 1.592 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005672/2.169, allocations: 353 kB / 1.592 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/2.17, allocations: 0.5068 MB / 1.592 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/2.17, allocations: 3.375 kB / 1.592 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/2.17, allocations: 7.656 kB / 1.592 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/2.17, allocations: 11.81 kB / 1.592 GB, free: 271.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/2.172, allocations: 3.1 MB / 1.595 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/2.173, allocations: 274.6 kB / 1.596 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/2.173, allocations: 178.1 kB / 1.596 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/2.173, allocations: 357.8 kB / 1.596 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/2.173, allocations: 39.31 kB / 1.596 GB, free: 269.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=38): time 2.054e-06/2.173, allocations: 0 / 1.596 GB, free: 269.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.002086/2.175, allocations: 0.707 MB / 1.597 GB, free: 269 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/2.175, allocations: 53 kB / 1.597 GB, free: 268.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/2.176, allocations: 432.6 kB / 1.597 GB, free: 268.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/2.176, allocations: 29.17 kB / 1.597 GB, free: 268.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/2.176, allocations: 257.3 kB / 1.598 GB, free: 268.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/2.176, allocations: 125.3 kB / 1.598 GB, free: 268.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/2.176, allocations: 0 / 1.598 GB, free: 268.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/2.176, allocations: 369.2 kB / 1.598 GB, free: 268.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/2.176, allocations: 148.3 kB / 1.598 GB, free: 268.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/2.177, allocations: 332.7 kB / 1.599 GB, free: 268.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/2.178, allocations: 475.1 kB / 1.599 GB, free: 268 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.178, allocations: 0 / 1.599 GB, free: 268 MB / 0.948 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002002/2.18, allocations: 0.8311 MB / 1.6 GB, free: 268 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004022/2.18, allocations: 1.741 MB / 1.602 GB, free: 266.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/2.18, allocations: 7.656 kB / 1.602 GB, free: 266.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/2.181, allocations: 113.3 kB / 1.602 GB, free: 266.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/2.181, allocations: 139.5 kB / 1.602 GB, free: 266.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009387/2.182, allocations: 0.7317 MB / 1.602 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/2.183, allocations: 95.22 kB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.157e-05/2.183, allocations: 34.28 kB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/2.183, allocations: 3.875 kB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001817/2.185, allocations: 0.7115 MB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/2.185, allocations: 7.031 kB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/2.185, allocations: 7.562 kB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/2.186, allocations: 161.3 kB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/2.186, allocations: 8.906 kB / 1.603 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006153/2.186, allocations: 83.16 kB / 1.604 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/2.186, allocations: 35.75 kB / 1.604 GB, free: 265.6 MB / 0.948 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.0001281/2.186, allocations: 119.1 kB / 1.604 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/2.187, allocations: 57.28 kB / 1.604 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/2.189, allocations: 0.8215 MB / 1.605 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/2.189, allocations: 7.359 kB / 1.605 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/2.189, allocations: 3.344 kB / 1.605 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/2.189, allocations: 7.75 kB / 1.605 GB, free: 265.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/2.192, allocations: 1.478 MB / 1.606 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/2.192, allocations: 3.125 kB / 1.606 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/2.193, allocations: 102 kB / 1.606 GB, free: 265.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003384/2.193, allocations: 117.2 kB / 1.606 GB, free: 265 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/2.193, allocations: 11.11 kB / 1.606 GB, free: 265 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008348/2.194, allocations: 0.7059 MB / 1.607 GB, free: 264.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/2.194, allocations: 2.031 kB / 1.607 GB, free: 264.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001901/2.196, allocations: 0.9191 MB / 1.608 GB, free: 264.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/2.196, allocations: 189 kB / 1.608 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/2.196, allocations: 3.906 kB / 1.608 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/2.197, allocations: 53.28 kB / 1.608 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.554e-05/2.197, allocations: 34.33 kB / 1.608 GB, free: 264.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/2.197, allocations: 20.55 kB / 1.608 GB, free: 264.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002853/2.197, allocations: 321.2 kB / 1.608 GB, free: 264.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001145/2.198, allocations: 395.1 kB / 1.609 GB, free: 264 MB / 0.948 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.0007204/2.199, allocations: 418.5 kB / 1.609 GB, free: 263.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001288/2.2, allocations: 0.7228 MB / 1.61 GB, free: 263.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.2, allocations: 0 / 1.61 GB, free: 263.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004268/2.201, allocations: 241.9 kB / 1.61 GB, free: 263.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/2.202, allocations: 242.2 kB / 1.61 GB, free: 263.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/2.203, allocations: 0.7629 MB / 1.611 GB, free: 263.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/2.204, allocations: 0.9938 MB / 1.612 GB, free: 262.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/2.204, allocations: 0 / 1.612 GB, free: 262.9 MB / 0.948 GB Notification: Performance of Templates: time 0.02061/2.224, allocations: 14.23 MB / 1.626 GB, free: 262.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)