Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.096/2.096, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 174 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.553/2.553, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009486/0.0009483, allocations: 94.53 kB / 0.6817 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007336/0.0007337, allocations: 13.41 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2056, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.263/1.469, allocations: 390.9 MB / 1.281 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004414/1.469, allocations: 104.8 kB / 1.281 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.986/3.455, allocations: 396.3 MB / 1.668 GB, free: 84.04 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.334e-06/3.455, allocations: 3.938 kB / 1.668 GB, free: 84.04 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.633e-05/3.456, allocations: 23.98 kB / 1.668 GB, free: 84.02 MB / 0.8855 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.003133/3.459, allocations: 1.176 MB / 1.67 GB, free: 82.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/3.459, allocations: 8.031 kB / 1.67 GB, free: 82.78 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/3.459, allocations: 95.81 kB / 1.67 GB, free: 82.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/3.461, allocations: 0.595 MB / 1.67 GB, free: 82.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/3.461, allocations: 41.38 kB / 1.67 GB, free: 82.01 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/3.461, allocations: 56.38 kB / 1.67 GB, free: 81.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/3.462, allocations: 403 kB / 1.671 GB, free: 81.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/3.462, allocations: 7.938 kB / 1.671 GB, free: 81.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/3.462, allocations: 23.88 kB / 1.671 GB, free: 81.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/3.462, allocations: 12 kB / 1.671 GB, free: 81.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/3.463, allocations: 295.8 kB / 1.671 GB, free: 81.22 MB / 0.8855 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.004049/3.467, allocations: 1.858 MB / 1.673 GB, free: 79.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/3.468, allocations: 166.8 kB / 1.673 GB, free: 79.04 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/3.468, allocations: 88.81 kB / 1.673 GB, free: 78.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/3.468, allocations: 336.4 kB / 1.673 GB, free: 78.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/3.468, allocations: 34.56 kB / 1.673 GB, free: 78.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.815e-06/3.468, allocations: 0 / 1.673 GB, free: 78.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001084/3.469, allocations: 322.5 kB / 1.674 GB, free: 78.19 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/3.469, allocations: 51.41 kB / 1.674 GB, free: 78.12 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/3.47, allocations: 0.6647 MB / 1.674 GB, free: 77.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/3.47, allocations: 33.7 kB / 1.674 GB, free: 77.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/3.471, allocations: 376.7 kB / 1.675 GB, free: 77.04 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/3.471, allocations: 67.05 kB / 1.675 GB, free: 76.97 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/3.471, allocations: 8 kB / 1.675 GB, free: 76.96 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001136/3.471, allocations: 370.8 kB / 1.675 GB, free: 76.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/3.471, allocations: 100.7 kB / 1.675 GB, free: 76.49 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/3.472, allocations: 226.7 kB / 1.676 GB, free: 76.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/3.472, allocations: 130.2 kB / 1.676 GB, free: 76.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/3.472, allocations: 0 / 1.676 GB, free: 76.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001032/3.473, allocations: 394.5 kB / 1.676 GB, free: 75.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/3.473, allocations: 110.6 kB / 1.676 GB, free: 75.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/3.473, allocations: 0 / 1.676 GB, free: 75.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/3.473, allocations: 7.984 kB / 1.676 GB, free: 75.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/3.475, allocations: 179.8 kB / 1.676 GB, free: 75.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/3.477, allocations: 2.36 MB / 1.679 GB, free: 72.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/3.478, allocations: 95.77 kB / 1.679 GB, free: 72.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/3.478, allocations: 20 kB / 1.679 GB, free: 72.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/3.478, allocations: 4 kB / 1.679 GB, free: 72.83 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009034/3.479, allocations: 288 kB / 1.679 GB, free: 72.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/3.479, allocations: 3.938 kB / 1.679 GB, free: 72.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/3.479, allocations: 4 kB / 1.679 GB, free: 72.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/3.48, allocations: 103.9 kB / 1.679 GB, free: 72.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/3.48, allocations: 4 kB / 1.679 GB, free: 72.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/3.481, allocations: 87.47 kB / 1.679 GB, free: 72.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/3.481, allocations: 19.98 kB / 1.679 GB, free: 72.33 MB / 0.8855 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.0004239/3.481, allocations: 265.5 kB / 1.679 GB, free: 72.06 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/3.481, allocations: 67.16 kB / 1.68 GB, free: 72 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009651/3.482, allocations: 323.6 kB / 1.68 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/3.482, allocations: 0 / 1.68 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/3.482, allocations: 0 / 1.68 GB, free: 71.67 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/3.482, allocations: 7.984 kB / 1.68 GB, free: 71.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/3.484, allocations: 0.8799 MB / 1.681 GB, free: 70.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/3.484, allocations: 3.984 kB / 1.681 GB, free: 70.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/3.485, allocations: 71.89 kB / 1.681 GB, free: 70.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/3.485, allocations: 0 / 1.681 GB, free: 70.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/3.485, allocations: 15.88 kB / 1.681 GB, free: 70.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000867/3.486, allocations: 2.348 MB / 1.683 GB, free: 68.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/3.486, allocations: 8.016 kB / 1.683 GB, free: 68.17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/3.487, allocations: 400.5 kB / 1.683 GB, free: 67.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/3.487, allocations: 176 kB / 1.684 GB, free: 67.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/3.487, allocations: 8 kB / 1.684 GB, free: 67.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/3.488, allocations: 51.94 kB / 1.684 GB, free: 67.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/3.488, allocations: 19.92 kB / 1.684 GB, free: 67.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/3.488, allocations: 12 kB / 1.684 GB, free: 67.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00073/3.489, allocations: 459 kB / 1.684 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.41e-07/3.489, allocations: 0 / 1.684 GB, free: 67.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001428/3.49, allocations: 395.3 kB / 1.685 GB, free: 66.64 MB / 0.8855 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.0009729/3.491, allocations: 479.3 kB / 1.685 GB, free: 66.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002701/3.494, allocations: 0.4993 MB / 1.686 GB, free: 65.68 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/3.494, allocations: 0 / 1.686 GB, free: 65.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006489/3.494, allocations: 145.3 kB / 1.686 GB, free: 65.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/3.498, allocations: 383 kB / 1.686 GB, free: 65.17 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/3.501, allocations: 1.309 MB / 1.687 GB, free: 63.82 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/3.501, allocations: 0.9332 MB / 1.688 GB, free: 62.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008425/3.502, allocations: 109.1 kB / 1.688 GB, free: 62.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/3.502, allocations: 51.44 kB / 1.688 GB, free: 62.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.422e-06/3.502, allocations: 0 / 1.688 GB, free: 62.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.03716/3.539, allocations: 14.93 MB / 1.703 GB, free: 47.94 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)