Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 192.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 69.66 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01748/0.3581, allocations: 15.46 MB / 1.083 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006231/0.3644, allocations: 4.314 MB / 1.087 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/0.365, allocations: 11.94 kB / 1.087 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008969/0.3659, allocations: 222.9 kB / 1.087 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.3676, allocations: 0.5716 MB / 1.088 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.3696, allocations: 0.6371 MB / 1.088 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.3709, allocations: 1.029 MB / 1.089 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.3714, allocations: 332 kB / 1.09 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006667/0.372, allocations: 426.2 kB / 1.09 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.3725, allocations: 330.6 kB / 1.09 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.3725, allocations: 28 kB / 1.09 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.3736, allocations: 0.6239 MB / 1.091 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3737, allocations: 103.5 kB / 1.091 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.3739, allocations: 230.7 kB / 1.091 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.375, allocations: 0.7517 MB / 1.092 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.3751, allocations: 4 kB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3751, allocations: 0 / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.3751, allocations: 0 / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00131/0.3764, allocations: 0.8252 MB / 1.093 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3764, allocations: 12.03 kB / 1.093 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.3766, allocations: 52.28 kB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.3771, allocations: 425.3 kB / 1.093 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.3772, allocations: 24.42 kB / 1.093 GB, free: 240 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.3773, allocations: 28 kB / 1.093 GB, free: 212 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.3777, allocations: 211.2 kB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3777, allocations: 0 / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3778, allocations: 8 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3778, allocations: 8 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.3782, allocations: 161.6 kB / 1.094 GB, free: 15.82 MB / 0.8575 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.001557/0.3797, allocations: 0.9495 MB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.38, allocations: 130.6 kB / 1.095 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.3802, allocations: 72.81 kB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.3805, allocations: 336.4 kB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3805, allocations: 38.56 kB / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.3806, allocations: 0 / 1.095 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0006377/0.3812, allocations: 243.6 kB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.3813, allocations: 59.41 kB / 1.096 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/0.3818, allocations: 477.9 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3818, allocations: 33.64 kB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.382, allocations: 224.6 kB / 1.096 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.3821, allocations: 55.36 kB / 1.096 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-05/0.3822, allocations: 57.61 kB / 1.096 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3823, allocations: 358.7 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.3826, allocations: 76.81 kB / 1.097 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.3828, allocations: 154.4 kB / 1.097 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.3832, allocations: 160.1 kB / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3832, allocations: 0 / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005242/0.3837, allocations: 254.4 kB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3837, allocations: 4 kB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3837, allocations: 0 / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3838, allocations: 4 kB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.384, allocations: 51.91 kB / 1.097 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.384, allocations: 0 / 1.097 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.3844, allocations: 43.72 kB / 1.097 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.3844, allocations: 11.98 kB / 1.097 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002782/0.3847, allocations: 192.1 kB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002406/0.385, allocations: 165.2 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003321/0.3853, allocations: 172.1 kB / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.3853, allocations: 0 / 1.098 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005023/0.3858, allocations: 249.1 kB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.3858, allocations: 4 kB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.3859, allocations: 0 / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.3859, allocations: 4 kB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3861, allocations: 47.91 kB / 1.098 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.3861, allocations: 64 / 1.098 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.3865, allocations: 43.81 kB / 1.098 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.3866, allocations: 19.92 kB / 1.098 GB, free: 10.88 MB / 0.8575 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 (24): * Single equations (assignments): 24 * 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.0001302/0.3867, allocations: 192.8 kB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.3868, allocations: 43.44 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.3874, allocations: 263 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3874, allocations: 7.984 kB / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3874, allocations: 0 / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3874, allocations: 0 / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.3885, allocations: 0.7 MB / 1.1 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3885, allocations: 0 / 1.1 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3886, allocations: 31.97 kB / 1.1 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3887, allocations: 4 kB / 1.1 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3887, allocations: 4.188 kB / 1.1 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.3887, allocations: 11.94 kB / 1.1 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3887, allocations: 12 kB / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.3892, allocations: 338.2 kB / 1.1 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.3893, allocations: 136.6 kB / 1.1 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.3894, allocations: 8 kB / 1.1 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3897, allocations: 23.91 kB / 1.1 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.3897, allocations: 15.92 kB / 1.1 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3897, allocations: 8 kB / 1.1 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003804/0.3901, allocations: 334.9 kB / 1.1 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3901, allocations: 0 / 1.1 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006742/0.3908, allocations: 203.6 kB / 1.101 GB, free: 8.453 MB / 0.8575 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001134/0.392, allocations: 481.5 kB / 1.101 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006933/0.3927, allocations: 278.7 kB / 1.101 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3927, allocations: 4 kB / 1.101 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3929, allocations: 92.2 kB / 1.101 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.394, allocations: 194.1 kB / 1.102 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.3953, allocations: 0.8441 MB / 1.102 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3957, allocations: 0.8234 MB / 1.103 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003383/0.396, allocations: 91.14 kB / 1.103 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.3961, allocations: 31.44 kB / 1.103 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3961, allocations: 0 / 1.103 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of Templates: time 0.01655/0.4127, allocations: 8.394 MB / 1.112 GB, free: 13.44 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)