Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.8784/0.8784, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 192 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.1 MB / 399.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009824/0.0009826, allocations: 91.38 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.538e-06/9.648e-06, allocations: 4 kB / 0.546 GB, free: 60.93 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1795, allocations: 76.75 MB / 0.6209 GB, free: 116 kB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.398, allocations: 358.4 MB / 0.9709 GB, free: 162 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/1.398, allocations: 95.5 kB / 0.971 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.195/2.593, allocations: 398.6 MB / 1.36 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000158/2.594, allocations: 23.94 kB / 1.36 GB, free: 20 MB / 0.6355 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.00316/2.597, allocations: 1.024 MB / 1.361 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/2.597, allocations: 12.03 kB / 1.361 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/2.597, allocations: 94.88 kB / 1.361 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/2.599, allocations: 0.5665 MB / 1.362 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/2.599, allocations: 16 kB / 1.362 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/2.599, allocations: 32 kB / 1.362 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005692/2.6, allocations: 230 kB / 1.362 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/2.6, allocations: 304.5 kB / 1.363 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/2.6, allocations: 3.906 kB / 1.363 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/2.6, allocations: 0 / 1.363 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/2.6, allocations: 16 kB / 1.363 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003908/2.604, allocations: 2.072 MB / 1.365 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/2.605, allocations: 142.4 kB / 1.365 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/2.605, allocations: 36.86 kB / 1.365 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/2.605, allocations: 0 / 1.365 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/2.605, allocations: 42.5 kB / 1.365 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.594e-06/2.605, allocations: 0 / 1.365 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.001773/2.607, allocations: 270.8 kB / 1.365 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/2.607, allocations: 55.66 kB / 1.365 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/2.608, allocations: 491.5 kB / 1.366 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/2.608, allocations: 29.64 kB / 1.366 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/2.608, allocations: 288.1 kB / 1.366 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/2.608, allocations: 47.3 kB / 1.366 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/2.608, allocations: 0 / 1.366 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001189/2.608, allocations: 366.8 kB / 1.366 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/2.608, allocations: 91.98 kB / 1.366 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/2.609, allocations: 201 kB / 1.367 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/2.609, allocations: 125.8 kB / 1.367 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.609, allocations: 0 / 1.367 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009376/2.61, allocations: 350.6 kB / 1.367 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/2.61, allocations: 271.1 kB / 1.367 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/2.61, allocations: 3.984 kB / 1.367 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/2.61, allocations: 0 / 1.367 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004743/2.615, allocations: 487.5 kB / 1.368 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/2.619, allocations: 2.652 MB / 1.37 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/2.621, allocations: 107.6 kB / 1.37 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/2.621, allocations: 19.98 kB / 1.37 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/2.621, allocations: 4.109 kB / 1.37 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009616/2.622, allocations: 219.9 kB / 1.371 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/2.622, allocations: 0 / 1.371 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/2.623, allocations: 4 kB / 1.371 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/2.623, allocations: 99.94 kB / 1.371 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/2.623, allocations: 0 / 1.371 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/2.624, allocations: 63.78 kB / 1.371 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/2.624, allocations: 15.94 kB / 1.371 GB, free: 8.707 MB / 0.6355 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 (43): * Single equations (assignments): 39 * 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.0002706/2.625, allocations: 124.4 kB / 1.371 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/2.625, allocations: 59.25 kB / 1.371 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/2.625, allocations: 49.23 kB / 1.371 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/2.625, allocations: 0 / 1.371 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/2.625, allocations: 0 / 1.371 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/2.625, allocations: 0 / 1.371 GB, free: 8.473 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/2.627, allocations: 433.8 kB / 1.371 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.627, allocations: 0 / 1.371 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00437/2.631, allocations: 479.5 kB / 1.372 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/2.631, allocations: 4 kB / 1.372 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/2.631, allocations: 0 / 1.372 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/2.642, allocations: 5.597 MB / 1.377 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/2.642, allocations: 8 kB / 1.377 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000655/2.642, allocations: 278.7 kB / 1.378 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/2.643, allocations: 136.3 kB / 1.378 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/2.643, allocations: 4 kB / 1.378 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/2.644, allocations: 71.77 kB / 1.378 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/2.644, allocations: 3.984 kB / 1.378 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/2.644, allocations: 12 kB / 1.378 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.00075/2.645, allocations: 371.2 kB / 1.378 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002269/2.647, allocations: 387.2 kB / 1.379 GB, free: 224 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.3784/3.026, allocations: 477.1 kB / 1.379 GB, free: 179 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005577/3.031, allocations: 0.8713 MB / 1.38 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/3.031, allocations: 0 / 1.38 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004386/3.036, allocations: 0.6269 MB / 1.381 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/3.038, allocations: 282.1 kB / 1.381 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/3.04, allocations: 0.7248 MB / 1.381 GB, free: 178.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/3.04, allocations: 0.9802 MB / 1.382 GB, free: 178 MB / 0.6355 GB Notification: Performance of SimCode: time 2.235e-06/3.04, allocations: 0 / 1.382 GB, free: 178 MB / 0.6355 GB Notification: Performance of Templates: time 0.02487/3.065, allocations: 13.69 MB / 1.396 GB, free: 177.8 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)