Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7619/0.7619, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 187.7 kB / 191.5 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 88.34 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 263.6 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 15.38 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1468, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.224, allocations: 388.4 MB / 1.153 GB, free: 195.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.224, allocations: 106 kB / 1.153 GB, free: 195.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.468/4.692, allocations: 1.126 GB / 2.279 GB, free: 64.12 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.954e-06/4.693, allocations: 0 / 2.279 GB, free: 64.12 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002504/4.693, allocations: 69.66 kB / 2.279 GB, free: 64.12 MB / 0.7292 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.007827/4.701, allocations: 2.731 MB / 2.281 GB, free: 63.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/4.701, allocations: 8.375 kB / 2.281 GB, free: 63.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007154/4.701, allocations: 267 kB / 2.282 GB, free: 62.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/4.706, allocations: 1.609 MB / 2.283 GB, free: 62.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/4.706, allocations: 111.8 kB / 2.283 GB, free: 62.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/4.706, allocations: 143.5 kB / 2.284 GB, free: 62.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/4.708, allocations: 1.156 MB / 2.285 GB, free: 62.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/4.708, allocations: 2.078 kB / 2.285 GB, free: 62.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/4.708, allocations: 47.19 kB / 2.285 GB, free: 62.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/4.708, allocations: 29.19 kB / 2.285 GB, free: 62.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/4.71, allocations: 1.016 MB / 2.286 GB, free: 62.49 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009791/4.72, allocations: 6.363 MB / 2.292 GB, free: 59.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008649/4.721, allocations: 0.5938 MB / 2.293 GB, free: 59.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/4.721, allocations: 0.5111 MB / 2.293 GB, free: 59.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/4.721, allocations: 45.97 kB / 2.293 GB, free: 59.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002231/4.723, allocations: 470.6 kB / 2.294 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 3.737e-06/4.723, allocations: 0 / 2.294 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001844/4.725, allocations: 1.135 MB / 2.295 GB, free: 59.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/4.725, allocations: 62.23 kB / 2.295 GB, free: 58.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/4.727, allocations: 1.635 MB / 2.296 GB, free: 58.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/4.727, allocations: 49.42 kB / 2.296 GB, free: 58.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/4.728, allocations: 0.9281 MB / 2.297 GB, free: 58.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/4.728, allocations: 199.5 kB / 2.297 GB, free: 58.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/4.728, allocations: 22.84 kB / 2.297 GB, free: 58.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/4.728, allocations: 357.4 kB / 2.298 GB, free: 58.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006608/4.729, allocations: 415.1 kB / 2.298 GB, free: 58.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/4.73, allocations: 0.7483 MB / 2.299 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/4.731, allocations: 0.5048 MB / 2.299 GB, free: 57.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/4.731, allocations: 0 / 2.299 GB, free: 57.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002049/4.733, allocations: 1.341 MB / 2.301 GB, free: 57.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002013/4.733, allocations: 0.9319 MB / 2.302 GB, free: 56.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/4.733, allocations: 0 / 2.302 GB, free: 56.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/4.733, allocations: 9.469 kB / 2.302 GB, free: 56.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/4.734, allocations: 284.5 kB / 2.302 GB, free: 56.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/4.734, allocations: 13.22 kB / 2.302 GB, free: 56.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/4.736, allocations: 162.4 kB / 2.302 GB, free: 56.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/4.736, allocations: 65.06 kB / 2.302 GB, free: 56.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/4.736, allocations: 3.969 kB / 2.302 GB, free: 56.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00163/4.738, allocations: 1.112 MB / 2.303 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/4.738, allocations: 10.19 kB / 2.303 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/4.738, allocations: 7.594 kB / 2.303 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/4.739, allocations: 273.7 kB / 2.304 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/4.739, allocations: 13.27 kB / 2.304 GB, free: 56.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/4.741, allocations: 159.1 kB / 2.304 GB, free: 56.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/4.741, allocations: 67.25 kB / 2.304 GB, free: 56.46 MB / 0.7292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.001013/4.742, allocations: 446.5 kB / 2.304 GB, free: 56.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/4.742, allocations: 203.1 kB / 2.304 GB, free: 56.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/4.744, allocations: 1.074 MB / 2.305 GB, free: 56.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/4.744, allocations: 12.06 kB / 2.305 GB, free: 56.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/4.744, allocations: 0 / 2.305 GB, free: 56.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/4.744, allocations: 3.891 kB / 2.305 GB, free: 56.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/4.748, allocations: 2.406 MB / 2.308 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/4.748, allocations: 1.219 kB / 2.308 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/4.748, allocations: 140 kB / 2.308 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/4.748, allocations: 8.906 kB / 2.308 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/4.749, allocations: 18.84 kB / 2.308 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/4.749, allocations: 3.938 kB / 2.308 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/4.749, allocations: 1.375 kB / 2.308 GB, free: 55.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/4.75, allocations: 1.171 MB / 2.309 GB, free: 55.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/4.751, allocations: 380.3 kB / 2.309 GB, free: 54.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/4.751, allocations: 16.64 kB / 2.309 GB, free: 54.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/4.752, allocations: 113.7 kB / 2.31 GB, free: 54.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/4.752, allocations: 50.03 kB / 2.31 GB, free: 54.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/4.752, allocations: 24.61 kB / 2.31 GB, free: 54.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001538/4.753, allocations: 1.235 MB / 2.311 GB, free: 54.83 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/4.753, allocations: 2.594 kB / 2.311 GB, free: 54.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002803/4.756, allocations: 0.9825 MB / 2.312 GB, free: 54.75 MB / 0.7292 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 () * Number of clocked 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.001496/4.758, allocations: 0.9721 MB / 2.313 GB, free: 54.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002435/4.76, allocations: 1.58 MB / 2.314 GB, free: 54.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/4.76, allocations: 3.5 kB / 2.314 GB, free: 54.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/4.761, allocations: 405.7 kB / 2.315 GB, free: 54.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004893/4.766, allocations: 1.12 MB / 2.316 GB, free: 54.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/4.77, allocations: 3.495 MB / 2.319 GB, free: 52.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/4.771, allocations: 1.448 MB / 2.321 GB, free: 51.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002086/4.773, allocations: 395.2 kB / 2.321 GB, free: 51.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/4.774, allocations: 161.6 kB / 2.321 GB, free: 51.96 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/4.774, allocations: 0 / 2.321 GB, free: 51.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.06487/4.839, allocations: 43.46 MB / 2.364 GB, free: 49.8 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)