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.8242/0.8242, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.0009912/0.0009911, allocations: 188.9 kB / 182.2 MB, free: 9.453 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.493/1.493, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.0009514/0.0009515, allocations: 92.08 kB / 0.5074 GB, free: 10.08 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00165/0.00165, allocations: 283.3 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.572e-05, allocations: 4 kB / 0.6765 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4489, allocations: 82.77 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8729/1.322, allocations: 387.7 MB / 1.136 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.322, allocations: 101.3 kB / 1.136 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.877/5.199, allocations: 1.116 GB / 2.253 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.432e-06/5.199, allocations: 0 / 2.253 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004083/5.2, allocations: 71.86 kB / 2.253 GB, free: 15.48 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.00771/5.207, allocations: 2.312 MB / 2.255 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/5.208, allocations: 8.031 kB / 2.255 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/5.209, allocations: 269.5 kB / 2.255 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/5.214, allocations: 1.588 MB / 2.257 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/5.214, allocations: 40 kB / 2.257 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004857/5.215, allocations: 91.98 kB / 2.257 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002225/5.217, allocations: 0.9302 MB / 2.258 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/5.219, allocations: 0.9481 MB / 2.259 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/5.219, allocations: 0 / 2.259 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/5.219, allocations: 0 / 2.259 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/5.219, allocations: 32 kB / 2.259 GB, free: 9.117 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.01159/5.231, allocations: 6.083 MB / 2.265 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000992/5.232, allocations: 0.5845 MB / 2.265 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/5.232, allocations: 383.3 kB / 2.266 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/5.233, allocations: 0.5148 MB / 2.266 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/5.233, allocations: 39.12 kB / 2.266 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002659/5.236, allocations: 430.9 kB / 2.266 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 4.539e-06/5.236, allocations: 0 / 2.266 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.5057/5.742, allocations: 0.8127 MB / 2.267 GB, free: 71.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/5.742, allocations: 57.88 kB / 2.267 GB, free: 71.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/5.744, allocations: 1.308 MB / 2.269 GB, free: 70.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000346/5.745, allocations: 28.61 kB / 2.269 GB, free: 70.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008672/5.746, allocations: 0.9177 MB / 2.27 GB, free: 70.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/5.746, allocations: 194.7 kB / 2.27 GB, free: 70.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/5.746, allocations: 0 / 2.27 GB, free: 70.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001527/5.746, allocations: 351.3 kB / 2.27 GB, free: 70.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/5.747, allocations: 382.7 kB / 2.27 GB, free: 70.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/5.748, allocations: 0.6995 MB / 2.271 GB, free: 70.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/5.749, allocations: 496 kB / 2.272 GB, free: 70.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/5.749, allocations: 1.25 kB / 2.272 GB, free: 70.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002822/5.752, allocations: 1.238 MB / 2.273 GB, free: 69.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/5.752, allocations: 0.9192 MB / 2.274 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/5.752, allocations: 2.875 kB / 2.274 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/5.752, allocations: 8.062 kB / 2.274 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/5.753, allocations: 286.3 kB / 2.274 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/5.753, allocations: 10.59 kB / 2.274 GB, free: 68.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/5.755, allocations: 125.9 kB / 2.274 GB, free: 68.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/5.756, allocations: 59.91 kB / 2.274 GB, free: 68.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/5.756, allocations: 8.594 kB / 2.274 GB, free: 68.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001581/5.757, allocations: 0.9671 MB / 2.275 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/5.757, allocations: 3.75 kB / 2.275 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/5.757, allocations: 11 kB / 2.275 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/5.758, allocations: 272.7 kB / 2.275 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/5.758, allocations: 12.88 kB / 2.275 GB, free: 68.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/5.76, allocations: 128.2 kB / 2.276 GB, free: 68.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/5.76, allocations: 59.3 kB / 2.276 GB, free: 68.91 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 () * 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.0002503/5.761, allocations: 129.3 kB / 2.276 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002485/5.761, allocations: 177.3 kB / 2.276 GB, free: 68.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/5.763, allocations: 0.9755 MB / 2.277 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/5.763, allocations: 7.844 kB / 2.277 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/5.763, allocations: 0 / 2.277 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/5.763, allocations: 7.844 kB / 2.277 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/5.766, allocations: 2.151 MB / 2.279 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/5.766, allocations: 6.453 kB / 2.279 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/5.767, allocations: 140.8 kB / 2.279 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/5.767, allocations: 2.906 kB / 2.279 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/5.767, allocations: 11.66 kB / 2.279 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/5.767, allocations: 7.375 kB / 2.279 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.767, allocations: 0 / 2.279 GB, free: 68.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/5.768, allocations: 1.067 MB / 2.28 GB, free: 67.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/5.768, allocations: 357.9 kB / 2.28 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/5.769, allocations: 2.031 kB / 2.28 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/5.769, allocations: 100 kB / 2.281 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/5.77, allocations: 51.47 kB / 2.281 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/5.77, allocations: 31.86 kB / 2.281 GB, free: 67.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001101/5.771, allocations: 0.9571 MB / 2.282 GB, free: 67.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/5.771, allocations: 0 / 2.282 GB, free: 67.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002608/5.773, allocations: 0.9738 MB / 2.283 GB, free: 67.41 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 () * 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.001451/5.775, allocations: 0.9868 MB / 2.283 GB, free: 67.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002419/5.777, allocations: 1.509 MB / 2.285 GB, free: 67.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/5.777, allocations: 3.875 kB / 2.285 GB, free: 67.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/5.778, allocations: 367.3 kB / 2.285 GB, free: 67.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004776/5.782, allocations: 0.902 MB / 2.286 GB, free: 67.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/5.786, allocations: 2.153 MB / 2.288 GB, free: 66.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/5.787, allocations: 1.455 MB / 2.29 GB, free: 65.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002342/5.789, allocations: 476.9 kB / 2.29 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/5.79, allocations: 117.3 kB / 2.29 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/5.79, allocations: 0 / 2.29 GB, free: 65.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.06091/5.851, allocations: 36.99 MB / 2.326 GB, free: 64.22 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)