Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7282/0.7282, allocations: 141.8 MB / 149.1 MB, free: 13.22 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 187.6 kB / 181.9 MB, free: 9.895 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.3 MB / 436 MB, free: 2.391 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 94.62 kB / 0.507 GB, free: 11.13 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 274.1 kB / 0.5884 GB, free: 7.965 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.814e-06, allocations: 0 / 0.6759 GB, free: 14.32 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4251, allocations: 82.77 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6569/1.082, allocations: 355.4 MB / 1.104 GB, free: 15.93 MB / 0.6513 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.082, allocations: 100.5 kB / 1.104 GB, free: 15.88 MB / 0.6513 GB Notification: Performance of FrontEnd: time 1.471/2.553, allocations: 417 MB / 1.511 GB, free: 156.2 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 9.65e-05/2.554, allocations: 30.14 kB / 1.511 GB, free: 156.2 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.003416/2.557, allocations: 1.046 MB / 1.512 GB, free: 155.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/2.557, allocations: 7.688 kB / 1.512 GB, free: 155.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/2.558, allocations: 97.66 kB / 1.512 GB, free: 155.6 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/2.559, allocations: 0.5893 MB / 1.513 GB, free: 155.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/2.559, allocations: 14.94 kB / 1.513 GB, free: 155.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/2.559, allocations: 34.47 kB / 1.513 GB, free: 155.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005467/2.56, allocations: 238.7 kB / 1.513 GB, free: 155.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005807/2.56, allocations: 318.8 kB / 1.513 GB, free: 155.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/2.56, allocations: 0 / 1.513 GB, free: 155.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/2.561, allocations: 0 / 1.513 GB, free: 155.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/2.561, allocations: 10.03 kB / 1.513 GB, free: 155.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/2.563, allocations: 1.764 MB / 1.515 GB, free: 154.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/2.563, allocations: 147.8 kB / 1.515 GB, free: 154.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/2.563, allocations: 67.38 kB / 1.515 GB, free: 154.3 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/2.564, allocations: 344.9 kB / 1.516 GB, free: 153.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/2.564, allocations: 35.81 kB / 1.516 GB, free: 153.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/2.564, allocations: 0 / 1.516 GB, free: 153.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=19): time 0.0006115/2.564, allocations: 221 kB / 1.516 GB, free: 153.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/2.564, allocations: 51.41 kB / 1.516 GB, free: 153.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/2.565, allocations: 493.3 kB / 1.517 GB, free: 153.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/2.565, allocations: 29.3 kB / 1.517 GB, free: 153.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/2.565, allocations: 274.6 kB / 1.517 GB, free: 153.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/2.565, allocations: 68.44 kB / 1.517 GB, free: 153.4 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/2.565, allocations: 0 / 1.517 GB, free: 153.4 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.000104/2.565, allocations: 368.7 kB / 1.517 GB, free: 153.1 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/2.565, allocations: 80.75 kB / 1.517 GB, free: 153.1 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/2.566, allocations: 193.3 kB / 1.517 GB, free: 153 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/2.566, allocations: 124.1 kB / 1.518 GB, free: 152.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/2.566, allocations: 0 / 1.518 GB, free: 152.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005923/2.567, allocations: 337 kB / 1.518 GB, free: 152.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/2.567, allocations: 277.4 kB / 1.518 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/2.567, allocations: 3.469 kB / 1.518 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/2.567, allocations: 3.625 kB / 1.518 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009618/2.568, allocations: 145.1 kB / 1.518 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/2.569, allocations: 2.4 MB / 1.521 GB, free: 150.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/2.569, allocations: 71.98 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/2.57, allocations: 18.08 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/2.57, allocations: 3.938 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004281/2.57, allocations: 232.9 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/2.57, allocations: 3.875 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/2.57, allocations: 0 / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/2.57, allocations: 105.2 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/2.57, allocations: 11.41 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/2.571, allocations: 67 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/2.571, allocations: 18.91 kB / 1.521 GB, free: 150.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/2.571, allocations: 110.7 kB / 1.521 GB, free: 150.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/2.571, allocations: 60.59 kB / 1.521 GB, free: 150.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005681/2.572, allocations: 272.8 kB / 1.522 GB, free: 150 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/2.572, allocations: 10.34 kB / 1.522 GB, free: 150 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/2.572, allocations: 0 / 1.522 GB, free: 150 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/2.572, allocations: 3.469 kB / 1.522 GB, free: 150 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/2.573, allocations: 0.7813 MB / 1.522 GB, free: 149.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/2.573, allocations: 2.781 kB / 1.522 GB, free: 149.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/2.573, allocations: 71.94 kB / 1.522 GB, free: 149.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/2.573, allocations: 3.938 kB / 1.522 GB, free: 149.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/2.573, allocations: 7.844 kB / 1.522 GB, free: 149.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00089/2.574, allocations: 2.369 MB / 1.525 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.574, allocations: 0 / 1.525 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004725/2.575, allocations: 412.7 kB / 1.525 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/2.575, allocations: 160.2 kB / 1.525 GB, free: 147 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/2.575, allocations: 7.469 kB / 1.525 GB, free: 147 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/2.576, allocations: 59.78 kB / 1.525 GB, free: 147 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/2.576, allocations: 11.58 kB / 1.525 GB, free: 147 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/2.576, allocations: 7.688 kB / 1.525 GB, free: 147 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004191/2.576, allocations: 371.8 kB / 1.526 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001136/2.577, allocations: 393.5 kB / 1.526 GB, free: 146.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000845/2.578, allocations: 489.2 kB / 1.527 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001327/2.579, allocations: 439.9 kB / 1.527 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/2.58, allocations: 0 / 1.527 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/2.58, allocations: 121.5 kB / 1.527 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/2.581, allocations: 277.1 kB / 1.527 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/2.583, allocations: 0.7518 MB / 1.528 GB, free: 146.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/2.583, allocations: 0.9929 MB / 1.529 GB, free: 145.7 MB / 0.6982 GB Notification: Performance of SimCode: time 5.01e-07/2.583, allocations: 3.781 kB / 1.529 GB, free: 145.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.0215/2.605, allocations: 13.35 MB / 1.542 GB, free: 145.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)