Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.502/1.502, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001021/0.001021, allocations: 177.2 kB / 361.1 MB, free: 7.098 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.121/1.121, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0008667/0.0008667, allocations: 92.25 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.283e-05, allocations: 4 kB / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5461, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8403/1.387, allocations: 397.9 MB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.387, allocations: 93.81 kB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.245/2.632, allocations: 408.6 MB / 1.751 GB, free: 207 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.261e-05/2.632, allocations: 29.66 kB / 1.751 GB, free: 207 MB / 0.9323 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.001651/2.634, allocations: 1.036 MB / 1.752 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/2.634, allocations: 14.08 kB / 1.752 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/2.634, allocations: 97.81 kB / 1.752 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/2.635, allocations: 0.575 MB / 1.753 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/2.635, allocations: 15.94 kB / 1.753 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/2.635, allocations: 34.03 kB / 1.753 GB, free: 205.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004974/2.635, allocations: 237.7 kB / 1.753 GB, free: 205.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/2.636, allocations: 311.3 kB / 1.754 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/2.636, allocations: 3.984 kB / 1.754 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/2.636, allocations: 3.062 kB / 1.754 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/2.636, allocations: 11.66 kB / 1.754 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/2.638, allocations: 1.768 MB / 1.755 GB, free: 204 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/2.638, allocations: 146.1 kB / 1.756 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/2.638, allocations: 70.03 kB / 1.756 GB, free: 203.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/2.639, allocations: 339.1 kB / 1.756 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/2.639, allocations: 37.61 kB / 1.756 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/2.639, allocations: 0 / 1.756 GB, free: 203.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=19): time 0.0005018/2.639, allocations: 214.1 kB / 1.756 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/2.639, allocations: 61.73 kB / 1.756 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/2.64, allocations: 477.5 kB / 1.757 GB, free: 203 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/2.64, allocations: 28.77 kB / 1.757 GB, free: 203 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/2.64, allocations: 276.7 kB / 1.757 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/2.64, allocations: 67.36 kB / 1.757 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/2.64, allocations: 0 / 1.757 GB, free: 202.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/2.64, allocations: 366.4 kB / 1.757 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/2.64, allocations: 86.42 kB / 1.757 GB, free: 202.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/2.64, allocations: 187.8 kB / 1.758 GB, free: 202.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/2.641, allocations: 127.4 kB / 1.758 GB, free: 202 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/2.641, allocations: 3.938 kB / 1.758 GB, free: 202 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005719/2.641, allocations: 335.4 kB / 1.758 GB, free: 201.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/2.641, allocations: 273.7 kB / 1.758 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/2.641, allocations: 2 kB / 1.758 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/2.641, allocations: 6.125 kB / 1.758 GB, free: 201.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/2.642, allocations: 140.8 kB / 1.758 GB, free: 201.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/2.643, allocations: 2.399 MB / 1.761 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/2.644, allocations: 76.56 kB / 1.761 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/2.644, allocations: 15.05 kB / 1.761 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-06/2.644, allocations: 6.281 kB / 1.761 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004327/2.645, allocations: 227.4 kB / 1.761 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/2.645, allocations: 1.406 kB / 1.761 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/2.645, allocations: 10.56 kB / 1.761 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/2.645, allocations: 101.5 kB / 1.761 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/2.645, allocations: 2.875 kB / 1.761 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/2.646, allocations: 78.69 kB / 1.761 GB, free: 198.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/2.646, allocations: 17.05 kB / 1.761 GB, free: 198.9 MB / 0.9323 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 9.136e-05/2.646, allocations: 110.8 kB / 1.761 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/2.646, allocations: 61.44 kB / 1.761 GB, free: 198.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/2.646, allocations: 271.1 kB / 1.762 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/2.646, allocations: 3.844 kB / 1.762 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/2.646, allocations: 3.344 kB / 1.762 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/2.646, allocations: 1.438 kB / 1.762 GB, free: 198.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009763/2.647, allocations: 0.7792 MB / 1.763 GB, free: 198 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/2.647, allocations: 6.5 kB / 1.763 GB, free: 198 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/2.648, allocations: 77.02 kB / 1.763 GB, free: 198 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/2.648, allocations: 2.906 kB / 1.763 GB, free: 198 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/2.648, allocations: 6.625 kB / 1.763 GB, free: 198 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000727/2.648, allocations: 2.369 MB / 1.765 GB, free: 195.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/2.648, allocations: 0 / 1.765 GB, free: 195.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004174/2.649, allocations: 402.9 kB / 1.765 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/2.649, allocations: 164.8 kB / 1.765 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/2.649, allocations: 8.906 kB / 1.765 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/2.65, allocations: 54.25 kB / 1.766 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/2.65, allocations: 17.36 kB / 1.766 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/2.65, allocations: 9.734 kB / 1.766 GB, free: 195.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003584/2.65, allocations: 363 kB / 1.766 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001127/2.651, allocations: 386.8 kB / 1.766 GB, free: 194.8 MB / 0.9323 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.0008244/2.652, allocations: 481.1 kB / 1.767 GB, free: 194.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00138/2.653, allocations: 439.3 kB / 1.767 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.653, allocations: 0 / 1.767 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/2.654, allocations: 130.2 kB / 1.767 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/2.655, allocations: 286.3 kB / 1.768 GB, free: 194.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/2.657, allocations: 0.7404 MB / 1.768 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/2.657, allocations: 1.001 MB / 1.769 GB, free: 193 MB / 0.9323 GB Notification: Performance of SimCode: time 4.21e-07/2.657, allocations: 3.094 kB / 1.769 GB, free: 193 MB / 0.9323 GB Notification: Performance of Templates: time 0.02127/2.678, allocations: 13.38 MB / 1.782 GB, free: 183 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)