Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) [: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.001397/0.001397, allocations: 189.5 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.465/0.465, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.4 MB / 342.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009184/0.0009183, allocations: 88.08 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1629/0.1639, allocations: 78.46 MB / 494 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.5467, allocations: 72.3 MB / 0.553 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5892/1.136, allocations: 348.3 MB / 0.8931 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/1.136, allocations: 85.95 kB / 0.8932 GB, free: 8.945 MB / 0.5573 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 1.44/2.576, allocations: 418.1 MB / 1.301 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/2.576, allocations: 9.656 kB / 1.301 GB, free: 125.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/2.577, allocations: 97.66 kB / 1.302 GB, free: 125.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/2.578, allocations: 0.5671 MB / 1.302 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/2.578, allocations: 20.78 kB / 1.302 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/2.578, allocations: 34.84 kB / 1.302 GB, free: 124.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005714/2.579, allocations: 246.6 kB / 1.302 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/2.58, allocations: 313.8 kB / 1.303 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/2.58, allocations: 0 / 1.303 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/2.58, allocations: 0 / 1.303 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/2.58, allocations: 16.44 kB / 1.303 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/2.582, allocations: 1.778 MB / 1.304 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/2.583, allocations: 148.8 kB / 1.305 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/2.583, allocations: 64.78 kB / 1.305 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/2.583, allocations: 341.7 kB / 1.305 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/2.583, allocations: 39.66 kB / 1.305 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/2.583, allocations: 0 / 1.305 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0006994/2.584, allocations: 212 kB / 1.305 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/2.584, allocations: 53.84 kB / 1.305 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/2.585, allocations: 492.5 kB / 1.306 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/2.585, allocations: 28.14 kB / 1.306 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/2.585, allocations: 278 kB / 1.306 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/2.585, allocations: 71.62 kB / 1.306 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/2.585, allocations: 0 / 1.306 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001018/2.585, allocations: 365.2 kB / 1.306 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/2.585, allocations: 81.95 kB / 1.307 GB, free: 121.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/2.585, allocations: 190.2 kB / 1.307 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/2.586, allocations: 115.8 kB / 1.307 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/2.586, allocations: 0 / 1.307 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006604/2.586, allocations: 343.5 kB / 1.307 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/2.586, allocations: 275.8 kB / 1.307 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/2.586, allocations: 0 / 1.307 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/2.586, allocations: 10.5 kB / 1.307 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/2.587, allocations: 139.1 kB / 1.308 GB, free: 120.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/2.589, allocations: 2.393 MB / 1.31 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/2.589, allocations: 78.47 kB / 1.31 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/2.589, allocations: 16.02 kB / 1.31 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/2.589, allocations: 4.594 kB / 1.31 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004764/2.59, allocations: 231 kB / 1.31 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/2.59, allocations: 1.688 kB / 1.31 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/2.59, allocations: 5.828 kB / 1.31 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/2.59, allocations: 103.2 kB / 1.31 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/2.59, allocations: 4.969 kB / 1.31 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006232/2.591, allocations: 73.09 kB / 1.31 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/2.591, allocations: 23.11 kB / 1.31 GB, free: 118.2 MB / 0.6042 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.0001258/2.591, allocations: 114 kB / 1.311 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/2.591, allocations: 58.62 kB / 1.311 GB, free: 118 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/2.592, allocations: 266.6 kB / 1.311 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/2.592, allocations: 0 / 1.311 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/2.592, allocations: 2.281 kB / 1.311 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/2.592, allocations: 3.344 kB / 1.311 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/2.593, allocations: 0.7881 MB / 1.312 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/2.593, allocations: 0 / 1.312 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/2.594, allocations: 83.84 kB / 1.312 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/2.594, allocations: 2.688 kB / 1.312 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/2.594, allocations: 2.688 kB / 1.312 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007723/2.595, allocations: 2.363 MB / 1.314 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/2.595, allocations: 7.156 kB / 1.314 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004474/2.595, allocations: 408.6 kB / 1.314 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006924/2.596, allocations: 0.8016 MB / 1.315 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/2.596, allocations: 173.5 kB / 1.315 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/2.596, allocations: 3.938 kB / 1.315 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/2.597, allocations: 56.12 kB / 1.315 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/2.597, allocations: 22.97 kB / 1.315 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/2.597, allocations: 11.5 kB / 1.315 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004235/2.597, allocations: 370.6 kB / 1.316 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002766/2.6, allocations: 490.1 kB / 1.316 GB, free: 113.2 MB / 0.6042 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.0008877/2.601, allocations: 477.1 kB / 1.317 GB, free: 113 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00149/2.602, allocations: 448.8 kB / 1.317 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.602, allocations: 0 / 1.317 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/2.603, allocations: 122.6 kB / 1.317 GB, free: 112.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/2.604, allocations: 277.7 kB / 1.318 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/2.606, allocations: 0.7516 MB / 1.318 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/2.607, allocations: 0.9994 MB / 1.319 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/2.607, allocations: 0 / 1.319 GB, free: 111.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)