Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8227/0.8227, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001095/0.001095, allocations: 185 kB / 191.5 MB, free: 5.766 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.383/1.383, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0008235/0.0008233, allocations: 92.31 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 268.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004112, allocations: 15.88 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1596, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7192/0.8788, allocations: 356.2 MB / 1.122 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.8792, allocations: 102.2 kB / 1.122 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.492/2.371, allocations: 418.8 MB / 1.531 GB, free: 150.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/2.371, allocations: 0 / 1.531 GB, free: 150.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.758e-05/2.371, allocations: 27.34 kB / 1.531 GB, free: 150.2 MB / 0.698 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.001927/2.373, allocations: 1.194 MB / 1.532 GB, free: 149.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/2.373, allocations: 8.781 kB / 1.532 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/2.374, allocations: 97.66 kB / 1.532 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/2.374, allocations: 0.5898 MB / 1.533 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/2.374, allocations: 48.81 kB / 1.533 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/2.375, allocations: 58.56 kB / 1.533 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/2.375, allocations: 395.8 kB / 1.533 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/2.375, allocations: 0 / 1.533 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/2.375, allocations: 19.69 kB / 1.533 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/2.375, allocations: 14.41 kB / 1.533 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/2.376, allocations: 300.5 kB / 1.533 GB, free: 148.4 MB / 0.698 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.00234/2.378, allocations: 1.861 MB / 1.535 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/2.378, allocations: 172.8 kB / 1.535 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/2.379, allocations: 339.9 kB / 1.536 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/2.379, allocations: 37.88 kB / 1.536 GB, free: 146.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/2.379, allocations: 3.891 kB / 1.536 GB, free: 146.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0006293/2.379, allocations: 323.7 kB / 1.536 GB, free: 146.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/2.379, allocations: 51.41 kB / 1.536 GB, free: 146.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/2.38, allocations: 0.5961 MB / 1.537 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/2.38, allocations: 29.7 kB / 1.537 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/2.38, allocations: 366.7 kB / 1.537 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/2.38, allocations: 65.36 kB / 1.537 GB, free: 145.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/2.38, allocations: 11.06 kB / 1.537 GB, free: 145.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/2.38, allocations: 378.2 kB / 1.537 GB, free: 145 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/2.38, allocations: 102.7 kB / 1.538 GB, free: 145 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/2.381, allocations: 222 kB / 1.538 GB, free: 144.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/2.381, allocations: 120 kB / 1.538 GB, free: 144.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.381, allocations: 4.281 kB / 1.538 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005971/2.382, allocations: 387.5 kB / 1.538 GB, free: 144.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/2.382, allocations: 278.2 kB / 1.539 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/2.382, allocations: 0 / 1.539 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/2.382, allocations: 6.719 kB / 1.539 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/2.383, allocations: 137.5 kB / 1.539 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008076/2.383, allocations: 2.371 MB / 1.541 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/2.384, allocations: 100.2 kB / 1.541 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/2.384, allocations: 19.64 kB / 1.541 GB, free: 141.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/2.384, allocations: 2.844 kB / 1.541 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005192/2.385, allocations: 286.3 kB / 1.541 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/2.385, allocations: 3.812 kB / 1.541 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-06/2.385, allocations: 0 / 1.541 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/2.385, allocations: 99.12 kB / 1.541 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/2.385, allocations: 0.5625 kB / 1.541 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/2.386, allocations: 89.42 kB / 1.542 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/2.386, allocations: 14.75 kB / 1.542 GB, free: 141.6 MB / 0.698 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 () * Number of clocked 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 0.0002333/2.386, allocations: 273 kB / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/2.386, allocations: 69 kB / 1.542 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/2.386, allocations: 317.7 kB / 1.542 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/2.387, allocations: 3.781 kB / 1.542 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/2.387, allocations: 0 / 1.542 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/2.387, allocations: 0 / 1.542 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/2.388, allocations: 0.899 MB / 1.543 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/2.388, allocations: 3.953 kB / 1.543 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/2.388, allocations: 74.86 kB / 1.543 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/2.388, allocations: 0 / 1.543 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/2.388, allocations: 7.188 kB / 1.543 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006008/2.389, allocations: 2.356 MB / 1.545 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.389, allocations: 0 / 1.545 GB, free: 138.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/2.389, allocations: 462.5 kB / 1.546 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/2.389, allocations: 186.2 kB / 1.546 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/2.389, allocations: 4 kB / 1.546 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/2.39, allocations: 48.91 kB / 1.546 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/2.39, allocations: 19.61 kB / 1.546 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/2.39, allocations: 14.72 kB / 1.546 GB, free: 137.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004124/2.39, allocations: 474.3 kB / 1.547 GB, free: 137.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/2.39, allocations: 0 / 1.547 GB, free: 137.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009321/2.391, allocations: 386.5 kB / 1.547 GB, free: 137.2 MB / 0.698 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 () * Number of clocked 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.0006343/2.392, allocations: 479.2 kB / 1.547 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001234/2.393, allocations: 463.9 kB / 1.548 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.393, allocations: 0 / 1.548 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/2.393, allocations: 137.6 kB / 1.548 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/2.395, allocations: 371.2 kB / 1.548 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/2.397, allocations: 1.328 MB / 1.55 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/2.397, allocations: 0.9511 MB / 1.551 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004655/2.397, allocations: 123 kB / 1.551 GB, free: 134.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/2.397, allocations: 46.86 kB / 1.551 GB, free: 134.8 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/2.397, allocations: 0 / 1.551 GB, free: 134.8 MB / 0.698 GB Notification: Performance of Templates: time 0.02223/2.42, allocations: 14.87 MB / 1.565 GB, free: 121.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)