Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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: translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [: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.001394/0.001395, allocations: 184.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4417/0.4417, allocations: 90.85 MB / 99.08 MB, free: 14.94 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.234/1.234, allocations: 221.4 MB / 342.8 MB, free: 5.246 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.0009633/0.0009635, allocations: 94.31 kB / 415.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.624e-06, allocations: 4 kB / 493.9 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3855, allocations: 72.3 MB / 0.5529 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6436/1.029, allocations: 380.6 MB / 0.9246 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/1.029, allocations: 99.19 kB / 0.9247 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.613/4.643, allocations: 1.123 GB / 2.048 GB, free: 50.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003436/4.643, allocations: 69.73 kB / 2.048 GB, free: 50.93 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005932/4.649, allocations: 2.33 MB / 2.05 GB, free: 49.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/4.649, allocations: 7.156 kB / 2.05 GB, free: 49.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009462/4.65, allocations: 271.5 kB / 2.05 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004038/4.654, allocations: 1.678 MB / 2.052 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/4.654, allocations: 40.19 kB / 2.052 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001777/4.654, allocations: 88.75 kB / 2.052 GB, free: 49.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001578/4.656, allocations: 0.9229 MB / 2.053 GB, free: 49.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/4.657, allocations: 0.9321 MB / 2.054 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/4.657, allocations: 0 / 2.054 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/4.657, allocations: 0 / 2.054 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/4.657, allocations: 28.53 kB / 2.054 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008218/4.666, allocations: 6.008 MB / 2.06 GB, free: 46.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/4.666, allocations: 0.5602 MB / 2.06 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/4.667, allocations: 365.3 kB / 2.061 GB, free: 46.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/4.667, allocations: 0.5082 MB / 2.061 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/4.667, allocations: 40.88 kB / 2.061 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=58): time 2.444e-06/4.667, allocations: 0 / 2.061 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58): time 0.002368/4.67, allocations: 0.8659 MB / 2.062 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/4.67, allocations: 55.81 kB / 2.062 GB, free: 45.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/4.672, allocations: 1.328 MB / 2.063 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/4.672, allocations: 25.7 kB / 2.063 GB, free: 45.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/4.672, allocations: 0.5973 MB / 2.064 GB, free: 44.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/4.672, allocations: 197.6 kB / 2.064 GB, free: 44.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/4.672, allocations: 2.625 kB / 2.064 GB, free: 44.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/4.672, allocations: 343 kB / 2.064 GB, free: 44.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/4.673, allocations: 395.8 kB / 2.065 GB, free: 44.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/4.674, allocations: 0.7057 MB / 2.066 GB, free: 44.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/4.675, allocations: 0.4939 MB / 2.066 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/4.675, allocations: 3.797 kB / 2.066 GB, free: 44.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002023/4.677, allocations: 1.254 MB / 2.067 GB, free: 43.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/4.677, allocations: 0.9198 MB / 2.068 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/4.677, allocations: 3.906 kB / 2.068 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/4.677, allocations: 7.656 kB / 2.068 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/4.678, allocations: 277.7 kB / 2.068 GB, free: 42.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/4.678, allocations: 6.938 kB / 2.068 GB, free: 42.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/4.68, allocations: 178.3 kB / 2.069 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/4.68, allocations: 65.98 kB / 2.069 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/4.68, allocations: 2.906 kB / 2.069 GB, free: 42.84 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/4.682, allocations: 0.9816 MB / 2.07 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/4.682, allocations: 3.844 kB / 2.07 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/4.682, allocations: 6.875 kB / 2.07 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/4.683, allocations: 277.9 kB / 2.07 GB, free: 42.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/4.683, allocations: 7.438 kB / 2.07 GB, free: 42.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/4.685, allocations: 162.3 kB / 2.07 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/4.685, allocations: 56.55 kB / 2.07 GB, free: 42.74 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 140 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002254/4.685, allocations: 127.9 kB / 2.07 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/4.685, allocations: 188.5 kB / 2.07 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/4.688, allocations: 1.05 MB / 2.071 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/4.688, allocations: 11.48 kB / 2.071 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/4.688, allocations: 0 / 2.071 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/4.688, allocations: 3.703 kB / 2.071 GB, free: 42.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/4.691, allocations: 2.239 MB / 2.074 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/4.691, allocations: 1.906 kB / 2.074 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/4.692, allocations: 132.8 kB / 2.074 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/4.692, allocations: 17.38 kB / 2.074 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/4.692, allocations: 10.23 kB / 2.074 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/4.692, allocations: 3.562 kB / 2.074 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/4.692, allocations: 5.438 kB / 2.074 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001234/4.693, allocations: 1.093 MB / 2.075 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/4.693, allocations: 361.1 kB / 2.075 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/4.694, allocations: 3.969 kB / 2.075 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009988/4.695, allocations: 111.2 kB / 2.075 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/4.695, allocations: 43.5 kB / 2.075 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/4.695, allocations: 28.25 kB / 2.075 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001106/4.696, allocations: 0.97 MB / 2.076 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002542/4.698, allocations: 0.966 MB / 2.077 GB, free: 41.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001342/4.7, allocations: 0.9855 MB / 2.078 GB, free: 40.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002192/4.702, allocations: 1.543 MB / 2.08 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/4.702, allocations: 4.906 kB / 2.08 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004658/4.703, allocations: 385.7 kB / 2.08 GB, free: 40.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/4.707, allocations: 0.8964 MB / 2.081 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/4.711, allocations: 2.267 MB / 2.083 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/4.712, allocations: 1.63 MB / 2.085 GB, free: 38.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.273e-06/4.712, allocations: 0 / 2.085 GB, free: 38.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.06233/4.774, allocations: 41.46 MB / 2.125 GB, free: 7.555 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)