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.7766/0.7766, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001141, allocations: 186.4 kB / 187.3 MB, free: 11.89 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.515/1.515, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009665/0.0009663, allocations: 92.36 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001975, allocations: 272.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.831e-05/4.835e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4945, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7887/1.283, allocations: 356.2 MB / 1.112 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.284, allocations: 97.84 kB / 1.112 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/2.962, allocations: 417.6 MB / 1.52 GB, free: 158.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.235e-06/2.962, allocations: 0 / 1.52 GB, free: 158.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.31e-05/2.963, allocations: 25.52 kB / 1.52 GB, free: 158.3 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.001673/2.964, allocations: 1.046 MB / 1.521 GB, free: 157.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/2.964, allocations: 11.66 kB / 1.521 GB, free: 157.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/2.964, allocations: 92.09 kB / 1.521 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/2.965, allocations: 0.5865 MB / 1.522 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/2.965, allocations: 39.81 kB / 1.522 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/2.965, allocations: 59.41 kB / 1.522 GB, free: 157.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/2.966, allocations: 373.5 kB / 1.522 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/2.966, allocations: 0 / 1.522 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/2.966, allocations: 19.31 kB / 1.522 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/2.966, allocations: 14.22 kB / 1.522 GB, free: 157.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/2.967, allocations: 260.3 kB / 1.522 GB, free: 157.4 MB / 0.698 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.002407/2.969, allocations: 1.855 MB / 1.524 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/2.969, allocations: 151.5 kB / 1.524 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/2.969, allocations: 68.94 kB / 1.524 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/2.97, allocations: 342.3 kB / 1.525 GB, free: 156.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/2.97, allocations: 41.2 kB / 1.525 GB, free: 156.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.974e-06/2.97, allocations: 1.859 kB / 1.525 GB, free: 156.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0004064/2.97, allocations: 217.2 kB / 1.525 GB, free: 156 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/2.97, allocations: 55.09 kB / 1.525 GB, free: 156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/2.971, allocations: 0.5854 MB / 1.526 GB, free: 155.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/2.971, allocations: 33.3 kB / 1.526 GB, free: 155.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/2.971, allocations: 371.6 kB / 1.526 GB, free: 155.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/2.971, allocations: 63.47 kB / 1.526 GB, free: 155.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/2.971, allocations: 7.875 kB / 1.526 GB, free: 155.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001092/2.971, allocations: 376.8 kB / 1.526 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/2.971, allocations: 82.38 kB / 1.527 GB, free: 155.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/2.971, allocations: 200.6 kB / 1.527 GB, free: 155.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/2.972, allocations: 111.3 kB / 1.527 GB, free: 155.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/2.972, allocations: 0 / 1.527 GB, free: 155.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004793/2.972, allocations: 350.5 kB / 1.527 GB, free: 155.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/2.972, allocations: 283.4 kB / 1.527 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/2.972, allocations: 0 / 1.527 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/2.972, allocations: 3.938 kB / 1.527 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000836/2.973, allocations: 136.5 kB / 1.528 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/2.974, allocations: 2.363 MB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/2.975, allocations: 99.38 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/2.975, allocations: 17.94 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/2.975, allocations: 4.531 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000384/2.975, allocations: 244 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/2.975, allocations: 7.672 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/2.975, allocations: 0 / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/2.976, allocations: 100.2 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/2.976, allocations: 6.812 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/2.976, allocations: 87.28 kB / 1.53 GB, free: 152.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/2.976, allocations: 20.78 kB / 1.53 GB, free: 152.5 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 () * 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.0001018/2.976, allocations: 122.2 kB / 1.531 GB, free: 152.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/2.976, allocations: 73.95 kB / 1.531 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005202/2.977, allocations: 283.1 kB / 1.531 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/2.977, allocations: 10.89 kB / 1.531 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.977, allocations: 0 / 1.531 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/2.977, allocations: 0 / 1.531 GB, free: 152.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/2.978, allocations: 0.8654 MB / 1.532 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/2.978, allocations: 0 / 1.532 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/2.978, allocations: 74.41 kB / 1.532 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/2.978, allocations: 7.891 kB / 1.532 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/2.978, allocations: 7.406 kB / 1.532 GB, free: 151.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006949/2.979, allocations: 2.351 MB / 1.534 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/2.979, allocations: 0 / 1.534 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/2.979, allocations: 426 kB / 1.535 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/2.98, allocations: 174.6 kB / 1.535 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/2.98, allocations: 3.656 kB / 1.535 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/2.98, allocations: 65.61 kB / 1.535 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/2.98, allocations: 17.84 kB / 1.535 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/2.98, allocations: 3.844 kB / 1.535 GB, free: 149.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004527/2.981, allocations: 474.3 kB / 1.535 GB, free: 149.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/2.981, allocations: 0 / 1.535 GB, free: 149.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001017/2.982, allocations: 383 kB / 1.536 GB, free: 149 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 () * 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.0007476/2.983, allocations: 475.1 kB / 1.536 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001101/2.984, allocations: 442.6 kB / 1.537 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.984, allocations: 0 / 1.537 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/2.984, allocations: 122.9 kB / 1.537 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/2.986, allocations: 369.1 kB / 1.537 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/2.987, allocations: 0.7643 MB / 1.538 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/2.987, allocations: 0.9468 MB / 1.539 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000586/2.988, allocations: 159.5 kB / 1.539 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/2.988, allocations: 40.19 kB / 1.539 GB, free: 147.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/2.988, allocations: 0 / 1.539 GB, free: 147.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02483/3.013, allocations: 16.62 MB / 1.555 GB, free: 147.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)