Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6999/0.6999, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001109/0.001109, allocations: 185.3 kB / 164.4 MB, free: 6.879 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.689/1.689, allocations: 205.1 MB / 399.1 MB, free: 6.137 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.001184/0.001185, allocations: 87.27 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.855e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1992, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.432, allocations: 391.6 MB / 1.003 GB, free: 91.25 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.432, allocations: 102.9 kB / 1.003 GB, free: 91.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.742/5.174, allocations: 1.065 GB / 2.069 GB, free: 42.04 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004251/5.175, allocations: 69.48 kB / 2.069 GB, free: 41.98 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.007/5.182, allocations: 2.26 MB / 2.071 GB, free: 39.68 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/5.182, allocations: 8.031 kB / 2.071 GB, free: 39.67 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/5.183, allocations: 257 kB / 2.071 GB, free: 39.42 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/5.188, allocations: 1.647 MB / 2.073 GB, free: 37.75 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/5.188, allocations: 40 kB / 2.073 GB, free: 37.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/5.189, allocations: 88 kB / 2.073 GB, free: 37.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002019/5.191, allocations: 0.8868 MB / 2.074 GB, free: 36.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/5.192, allocations: 0.9081 MB / 2.075 GB, free: 35.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/5.193, allocations: 0 / 2.075 GB, free: 35.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/5.193, allocations: 3.906 kB / 2.075 GB, free: 35.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/5.193, allocations: 28 kB / 2.075 GB, free: 35.77 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009066/5.202, allocations: 6.33 MB / 2.081 GB, free: 28.96 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/5.203, allocations: 0.5226 MB / 2.082 GB, free: 28.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/5.203, allocations: 314.1 kB / 2.082 GB, free: 28.12 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/5.203, allocations: 13.44 kB / 2.082 GB, free: 28.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/5.203, allocations: 39 kB / 2.082 GB, free: 28.07 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=49): time 2.665e-06/5.203, allocations: 0 / 2.082 GB, free: 28.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49): time 0.003799/5.207, allocations: 1.114 MB / 2.083 GB, free: 26.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/5.207, allocations: 67.78 kB / 2.083 GB, free: 26.87 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/5.209, allocations: 1.284 MB / 2.084 GB, free: 25.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002687/5.209, allocations: 29.7 kB / 2.084 GB, free: 25.51 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/5.21, allocations: 0.6014 MB / 2.085 GB, free: 24.89 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/5.21, allocations: 161.6 kB / 2.085 GB, free: 24.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/5.21, allocations: 4 kB / 2.085 GB, free: 24.73 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/5.21, allocations: 350.6 kB / 2.085 GB, free: 24.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/5.211, allocations: 438.5 kB / 2.086 GB, free: 23.95 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/5.211, allocations: 0.7519 MB / 2.087 GB, free: 23.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/5.212, allocations: 0.527 MB / 2.087 GB, free: 22.55 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/5.212, allocations: 0 / 2.087 GB, free: 22.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002444/5.215, allocations: 1.34 MB / 2.088 GB, free: 21.21 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002116/5.215, allocations: 0.9133 MB / 2.089 GB, free: 20.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/5.215, allocations: 7.984 kB / 2.089 GB, free: 20.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/5.215, allocations: 11.98 kB / 2.089 GB, free: 20.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/5.217, allocations: 351.5 kB / 2.09 GB, free: 19.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/5.217, allocations: 4 kB / 2.09 GB, free: 19.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/5.22, allocations: 278.5 kB / 2.09 GB, free: 19.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/5.22, allocations: 63.88 kB / 2.09 GB, free: 19.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/5.22, allocations: 4 kB / 2.09 GB, free: 19.52 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/5.222, allocations: 0.9729 MB / 2.091 GB, free: 18.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/5.222, allocations: 4 kB / 2.091 GB, free: 18.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/5.222, allocations: 12.25 kB / 2.091 GB, free: 18.53 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/5.223, allocations: 267.6 kB / 2.091 GB, free: 18.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/5.223, allocations: 15.92 kB / 2.091 GB, free: 18.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/5.225, allocations: 159.2 kB / 2.091 GB, free: 18.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/5.225, allocations: 55.94 kB / 2.091 GB, free: 18.04 MB / 0.6667 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 (143): * Single equations (assignments): 143 * 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.0003023/5.225, allocations: 124.7 kB / 2.092 GB, free: 17.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/5.226, allocations: 165.8 kB / 2.092 GB, free: 17.75 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/5.228, allocations: 0.9474 MB / 2.093 GB, free: 16.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/5.228, allocations: 12 kB / 2.093 GB, free: 16.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.466e-05/5.228, allocations: 0 / 2.093 GB, free: 16.77 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/5.228, allocations: 3.984 kB / 2.093 GB, free: 16.77 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/5.23, allocations: 1.209 MB / 2.094 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/5.23, allocations: 0 / 2.094 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/5.231, allocations: 179.8 kB / 2.094 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/5.231, allocations: 7.938 kB / 2.094 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/5.231, allocations: 15.61 kB / 2.094 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/5.231, allocations: 7.969 kB / 2.094 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/5.231, allocations: 0 / 2.094 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001326/5.232, allocations: 0.9102 MB / 2.095 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/5.233, allocations: 266.7 kB / 2.095 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/5.233, allocations: 0 / 2.095 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/5.234, allocations: 159.7 kB / 2.095 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/5.235, allocations: 36.44 kB / 2.095 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/5.235, allocations: 23.97 kB / 2.095 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001229/5.236, allocations: 0.9351 MB / 2.096 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002866/5.239, allocations: 0.9667 MB / 2.097 GB, free: 11.96 MB / 0.6667 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 (61): * Single equations (assignments): 61 * 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 Backend phase and start with SimCode phase: time 0.001509/5.24, allocations: 1.01 MB / 2.098 GB, free: 11 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00239/5.243, allocations: 1.593 MB / 2.1 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/5.243, allocations: 0 / 2.1 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/5.243, allocations: 365.9 kB / 2.1 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/5.248, allocations: 0.9 MB / 2.101 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/5.276, allocations: 4.567 MB / 2.106 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/5.278, allocations: 1.587 MB / 2.107 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of SimCode: time 2.284e-06/5.278, allocations: 3.938 kB / 2.107 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of Templates: time 0.4436/5.721, allocations: 44.21 MB / 2.15 GB, free: 122.5 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)