Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 252 MB / 267.9 MB, free: 10.92 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.001158/0.001158, allocations: 188.5 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 0.5785 GB, free: 20.25 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.0007604/0.0007605, allocations: 90.31 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003883, allocations: 13.12 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8026/0.9848, allocations: 395.8 MB / 1.288 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.9852, allocations: 104.1 kB / 1.288 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.7226/1.708, allocations: 169.8 MB / 1.454 GB, free: 282.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/1.708, allocations: 0 / 1.454 GB, free: 282.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.589e-05/1.708, allocations: 14.94 kB / 1.454 GB, free: 282.2 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001364/1.709, allocations: 0.8694 MB / 1.455 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/1.709, allocations: 9.938 kB / 1.455 GB, free: 281.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/1.709, allocations: 69.41 kB / 1.455 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/1.71, allocations: 474.5 kB / 1.455 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/1.71, allocations: 25.78 kB / 1.455 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/1.71, allocations: 31.81 kB / 1.455 GB, free: 281.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/1.711, allocations: 285.2 kB / 1.455 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.711, allocations: 0 / 1.455 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/1.711, allocations: 18.28 kB / 1.455 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.711, allocations: 3.906 kB / 1.455 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/1.711, allocations: 204.2 kB / 1.456 GB, free: 281.2 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.001603/1.713, allocations: 1.312 MB / 1.457 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/1.713, allocations: 197 kB / 1.457 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/1.713, allocations: 101 kB / 1.457 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/1.714, allocations: 1.314 MB / 1.458 GB, free: 279.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/1.714, allocations: 45.94 kB / 1.458 GB, free: 279.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/1.714, allocations: 3.938 kB / 1.458 GB, free: 279.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0005565/1.715, allocations: 286.9 kB / 1.459 GB, free: 279.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/1.715, allocations: 51.41 kB / 1.459 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/1.716, allocations: 0.576 MB / 1.459 GB, free: 279.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/1.716, allocations: 33.45 kB / 1.459 GB, free: 279 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/1.716, allocations: 257.6 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/1.716, allocations: 72.09 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/1.716, allocations: 3.938 kB / 1.46 GB, free: 278.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/1.716, allocations: 356.6 kB / 1.46 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/1.716, allocations: 81.2 kB / 1.46 GB, free: 278.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/1.716, allocations: 233.3 kB / 1.46 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/1.717, allocations: 247.6 kB / 1.461 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.717, allocations: 3.844 kB / 1.461 GB, free: 278.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004741/1.717, allocations: 329.7 kB / 1.461 GB, free: 278.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/1.717, allocations: 150.5 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.717, allocations: 0 / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.717, allocations: 7.422 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/1.717, allocations: 71.91 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.717, allocations: 7.906 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/1.718, allocations: 49.81 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/1.718, allocations: 18.41 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/1.718, allocations: 6.562 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004028/1.718, allocations: 249.8 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-06/1.718, allocations: 0 / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/1.718, allocations: 11.7 kB / 1.461 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/1.718, allocations: 68.61 kB / 1.462 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.718, allocations: 3.906 kB / 1.462 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/1.719, allocations: 49.61 kB / 1.462 GB, free: 278.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/1.719, allocations: 15.09 kB / 1.462 GB, free: 278.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (35): * Single equations (assignments): 35 * 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.0001497/1.719, allocations: 267.2 kB / 1.462 GB, free: 277.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/1.719, allocations: 45.81 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/1.719, allocations: 302.1 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.72, allocations: 3.938 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.72, allocations: 0 / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.72, allocations: 3.797 kB / 1.462 GB, free: 277.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008501/1.72, allocations: 0.7895 MB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.72, allocations: 0 / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/1.721, allocations: 41.94 kB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.721, allocations: 7.625 kB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/1.721, allocations: 10.97 kB / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.721, allocations: 0 / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.721, allocations: 0 / 1.463 GB, free: 277.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/1.721, allocations: 488.6 kB / 1.463 GB, free: 277.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/1.721, allocations: 164 kB / 1.464 GB, free: 277.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/1.721, allocations: 7.25 kB / 1.464 GB, free: 277.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/1.722, allocations: 20.2 kB / 1.464 GB, free: 277.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/1.722, allocations: 18.25 kB / 1.464 GB, free: 277.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/1.722, allocations: 11.19 kB / 1.464 GB, free: 277.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003393/1.722, allocations: 407.9 kB / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.722, allocations: 0 / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007276/1.723, allocations: 272.9 kB / 1.464 GB, free: 277 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001035/1.724, allocations: 0.6162 MB / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006517/1.724, allocations: 370 kB / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.724, allocations: 0 / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/1.725, allocations: 108 kB / 1.465 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.726, allocations: 257.4 kB / 1.466 GB, free: 276.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.727, allocations: 1.047 MB / 1.467 GB, free: 276.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/1.727, allocations: 0.8507 MB / 1.468 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003148/1.728, allocations: 106.5 kB / 1.468 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/1.728, allocations: 41.81 kB / 1.468 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/1.728, allocations: 0 / 1.468 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.01512/1.743, allocations: 11.41 MB / 1.479 GB, free: 273.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)