Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009721/0.0009721, allocations: 180.5 kB / 326.5 MB, free: 2.664 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.578/1.578, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008305/0.0008305, allocations: 80.77 kB / 0.6803 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.000399, allocations: 15.83 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2305, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09274/0.3233, allocations: 112.1 MB / 1.006 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03842/0.3618, allocations: 24.45 MB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005222/0.367, allocations: 107.1 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.3712, allocations: 1.049 MB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01079/0.382, allocations: 3.344 MB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007484/0.3895, allocations: 2.781 MB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01206/0.4016, allocations: 9.399 MB / 1.046 GB, free: 10.42 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00371/0.4053, allocations: 2.034 MB / 1.048 GB, free: 8.332 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005615/0.411, allocations: 2.321 MB / 1.051 GB, free: 6.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.4151, allocations: 2.01 MB / 1.053 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008238/0.416, allocations: 88 kB / 1.053 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004264/0.4203, allocations: 1.439 MB / 1.054 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.4214, allocations: 0.5015 MB / 1.055 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002612/0.424, allocations: 1.29 MB / 1.056 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.4886/0.9126, allocations: 3.255 MB / 1.059 GB, free: 46.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.9127, allocations: 0 / 1.059 GB, free: 46.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.929e-06/0.9127, allocations: 0 / 1.059 GB, free: 46.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001422/0.9129, allocations: 0 / 1.059 GB, free: 46.11 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006281/0.9192, allocations: 2.637 MB / 1.062 GB, free: 44.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.9192, allocations: 8.75 kB / 1.062 GB, free: 44.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/0.9202, allocations: 320.5 kB / 1.062 GB, free: 44.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/0.9243, allocations: 2.11 MB / 1.064 GB, free: 44.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.9244, allocations: 131.6 kB / 1.064 GB, free: 44.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.9247, allocations: 172.4 kB / 1.064 GB, free: 44.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.928, allocations: 1.596 MB / 1.066 GB, free: 44.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.928, allocations: 4.031 kB / 1.066 GB, free: 44.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.9281, allocations: 61.88 kB / 1.066 GB, free: 44.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-05/0.9282, allocations: 45.92 kB / 1.066 GB, free: 44.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.9308, allocations: 1.152 MB / 1.067 GB, free: 43.99 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.01259/0.9434, allocations: 7.858 MB / 1.075 GB, free: 40.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.9444, allocations: 484.1 kB / 1.075 GB, free: 40.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005963/0.945, allocations: 323.3 kB / 1.076 GB, free: 40.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.9456, allocations: 0.7569 MB / 1.076 GB, free: 39.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.9456, allocations: 42.84 kB / 1.076 GB, free: 39.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.998e-06/0.9456, allocations: 0 / 1.076 GB, free: 39.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.002544/0.9482, allocations: 0.995 MB / 1.077 GB, free: 39.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.9482, allocations: 56.88 kB / 1.077 GB, free: 39.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003824/0.9521, allocations: 2.261 MB / 1.08 GB, free: 38.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.9524, allocations: 48.7 kB / 1.08 GB, free: 38.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.9534, allocations: 1.147 MB / 1.081 GB, free: 38.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.9536, allocations: 215.2 kB / 1.081 GB, free: 38.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.9538, allocations: 107.2 kB / 1.081 GB, free: 38.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.9539, allocations: 349.2 kB / 1.081 GB, free: 38.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007371/0.9547, allocations: 351.7 kB / 1.082 GB, free: 38.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.9556, allocations: 0.7553 MB / 1.082 GB, free: 37.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.9569, allocations: 0.9861 MB / 1.083 GB, free: 37.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.957, allocations: 3.031 kB / 1.083 GB, free: 37.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002663/0.9596, allocations: 1.29 MB / 1.085 GB, free: 37.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.9598, allocations: 350.1 kB / 1.085 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.9598, allocations: 8.5 kB / 1.085 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/0.9599, allocations: 13.78 kB / 1.085 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.9609, allocations: 257.3 kB / 1.085 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.88e-05/0.9609, allocations: 19.61 kB / 1.085 GB, free: 36.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.9633, allocations: 249.1 kB / 1.086 GB, free: 36.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.9634, allocations: 52.12 kB / 1.086 GB, free: 36.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.9634, allocations: 5.984 kB / 1.086 GB, free: 36.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001832/0.9653, allocations: 1.028 MB / 1.087 GB, free: 36.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.9653, allocations: 9.281 kB / 1.087 GB, free: 36.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.9653, allocations: 16.36 kB / 1.087 GB, free: 36.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/0.9662, allocations: 256.4 kB / 1.087 GB, free: 36.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.9662, allocations: 19.44 kB / 1.087 GB, free: 36.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.9682, allocations: 235.8 kB / 1.087 GB, free: 36.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-05/0.9683, allocations: 49.02 kB / 1.087 GB, free: 36.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001681/0.97, allocations: 0.5689 MB / 1.088 GB, free: 36.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/0.9707, allocations: 230.3 kB / 1.088 GB, free: 36.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.9725, allocations: 0.8851 MB / 1.089 GB, free: 36.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.9725, allocations: 13.09 kB / 1.089 GB, free: 36.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.9725, allocations: 3.938 kB / 1.089 GB, free: 36.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001051/0.9736, allocations: 0.6848 MB / 1.089 GB, free: 36.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004663/0.9783, allocations: 2.54 MB / 1.092 GB, free: 35.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.9783, allocations: 7.312 kB / 1.092 GB, free: 35.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.9788, allocations: 125.5 kB / 1.092 GB, free: 35.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.9788, allocations: 7.438 kB / 1.092 GB, free: 35.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.9789, allocations: 17.8 kB / 1.092 GB, free: 35.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.9789, allocations: 3.312 kB / 1.092 GB, free: 35.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.9789, allocations: 3.312 kB / 1.092 GB, free: 35.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.9809, allocations: 1.311 MB / 1.093 GB, free: 35.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008749/0.9818, allocations: 405.5 kB / 1.094 GB, free: 35.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/0.982, allocations: 14.66 kB / 1.094 GB, free: 35.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.9831, allocations: 123 kB / 1.094 GB, free: 35.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.9832, allocations: 39.59 kB / 1.094 GB, free: 35.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.9833, allocations: 34.5 kB / 1.094 GB, free: 35.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002254/0.9855, allocations: 1.515 MB / 1.095 GB, free: 34.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.052e-06/0.9855, allocations: 0 / 1.095 GB, free: 34.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003067/0.9886, allocations: 1.094 MB / 1.097 GB, free: 34.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001593/0.9902, allocations: 0.731 MB / 1.097 GB, free: 34.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002723/0.9929, allocations: 1.364 MB / 1.099 GB, free: 34.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.993, allocations: 0 / 1.099 GB, free: 34.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.9935, allocations: 334.2 kB / 1.099 GB, free: 34.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007491/1.001, allocations: 1.401 MB / 1.1 GB, free: 34.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/1.008, allocations: 4.528 MB / 1.105 GB, free: 32.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.009, allocations: 1.575 MB / 1.106 GB, free: 31.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/1.01, allocations: 181.5 kB / 1.106 GB, free: 31.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.164e-06/1.01, allocations: 0 / 1.106 GB, free: 31.28 MB / 0.698 GB Notification: Performance of Templates: time 0.05653/1.067, allocations: 38.95 MB / 1.144 GB, free: 6.121 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)