Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001792/0.001792, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.002049/0.00205, allocations: 198 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.3 MB / 0.5492 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 70.95 kB / 0.6717 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2257, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0159/0.2416, allocations: 15.62 MB / 0.7988 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.2518, allocations: 7.1 MB / 0.8057 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007264/0.2525, allocations: 19.81 kB / 0.8057 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009236/0.2535, allocations: 226.9 kB / 0.8059 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.255, allocations: 0.5631 MB / 0.8065 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.2566, allocations: 0.6274 MB / 0.8071 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.2579, allocations: 1.029 MB / 0.8081 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.2584, allocations: 319.9 kB / 0.8084 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006605/0.2591, allocations: 422.3 kB / 0.8088 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.2595, allocations: 318.6 kB / 0.8091 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.2595, allocations: 28 kB / 0.8091 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.2606, allocations: 0.6161 MB / 0.8097 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.2608, allocations: 107.5 kB / 0.8098 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.261, allocations: 230.6 kB / 0.8101 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.2617, allocations: 0.5418 MB / 0.8106 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2617, allocations: 7.984 kB / 0.8106 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2618, allocations: 0 / 0.8106 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2618, allocations: 0 / 0.8106 GB, free: 2.086 MB / 0.6231 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.001184/0.263, allocations: 0.8251 MB / 0.8114 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.263, allocations: 8.031 kB / 0.8114 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2631, allocations: 56.28 kB / 0.8115 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.2636, allocations: 413.1 kB / 0.8119 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2637, allocations: 20.44 kB / 0.8119 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.2637, allocations: 28 kB / 0.8119 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.2642, allocations: 211.2 kB / 0.8121 GB, free: 456 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2642, allocations: 4 kB / 0.8121 GB, free: 452 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2642, allocations: 8 kB / 0.8121 GB, free: 444 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.2642, allocations: 4 kB / 0.8121 GB, free: 440 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.2646, allocations: 161.6 kB / 0.8123 GB, free: 280 kB / 0.6231 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.001559/0.2662, allocations: 0.9496 MB / 0.8132 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.2665, allocations: 141.3 kB / 0.8133 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.2666, allocations: 64.83 kB / 0.8134 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.267, allocations: 336.4 kB / 0.8137 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.267, allocations: 38.56 kB / 0.8138 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.267, allocations: 0 / 0.8138 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0005963/0.2676, allocations: 249 kB / 0.814 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2677, allocations: 51.41 kB / 0.814 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.2681, allocations: 462 kB / 0.8145 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.2682, allocations: 33.7 kB / 0.8145 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.2684, allocations: 236.5 kB / 0.8147 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.2684, allocations: 51.3 kB / 0.8148 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.343e-05/0.2685, allocations: 61.55 kB / 0.8149 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2687, allocations: 358.7 kB / 0.8152 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2689, allocations: 68.81 kB / 0.8153 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.2691, allocations: 158.5 kB / 0.8154 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.2695, allocations: 154.5 kB / 0.8156 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2695, allocations: 0 / 0.8156 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000482/0.27, allocations: 255.5 kB / 0.8158 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.27, allocations: 8 kB / 0.8158 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.27, allocations: 0 / 0.8158 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.27, allocations: 4 kB / 0.8158 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.2703, allocations: 47.91 kB / 0.8159 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2703, allocations: 4 kB / 0.8159 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.2706, allocations: 39.81 kB / 0.8159 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.2707, allocations: 15.92 kB / 0.8159 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002704/0.271, allocations: 200 kB / 0.8161 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000229/0.2712, allocations: 153.4 kB / 0.8163 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003056/0.2715, allocations: 172.2 kB / 0.8164 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.2715, allocations: 0 / 0.8164 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004915/0.272, allocations: 256.2 kB / 0.8167 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.272, allocations: 8 kB / 0.8167 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.272, allocations: 0 / 0.8167 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-06/0.272, allocations: 8 kB / 0.8167 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.2723, allocations: 47.91 kB / 0.8167 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2723, allocations: 4 kB / 0.8167 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.2726, allocations: 39.89 kB / 0.8168 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2727, allocations: 8 kB / 0.8168 GB, free: 11.35 MB / 0.6387 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.0001279/0.2728, allocations: 204.1 kB / 0.817 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.2729, allocations: 39.44 kB / 0.817 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005393/0.2734, allocations: 257.1 kB / 0.8173 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2734, allocations: 0 / 0.8173 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2735, allocations: 0 / 0.8173 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2735, allocations: 8 kB / 0.8173 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.2744, allocations: 0.6927 MB / 0.8179 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2745, allocations: 4 kB / 0.8179 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.2746, allocations: 27.92 kB / 0.818 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2746, allocations: 8.125 kB / 0.818 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2746, allocations: 15.92 kB / 0.818 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2746, allocations: 0 / 0.818 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2746, allocations: 4 kB / 0.818 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.2751, allocations: 338.2 kB / 0.8183 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.2753, allocations: 132.6 kB / 0.8184 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.2753, allocations: 11.94 kB / 0.8185 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2756, allocations: 23.83 kB / 0.8185 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.2756, allocations: 15.98 kB / 0.8185 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.2756, allocations: 11.98 kB / 0.8185 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003518/0.276, allocations: 330.8 kB / 0.8188 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.276, allocations: 0 / 0.8188 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006583/0.2767, allocations: 199.7 kB / 0.819 GB, free: 8.926 MB / 0.6387 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.001105/0.2778, allocations: 482 kB / 0.8195 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006706/0.2785, allocations: 275.9 kB / 0.8197 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2785, allocations: 128 / 0.8197 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.2787, allocations: 87.83 kB / 0.8198 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.2798, allocations: 217.3 kB / 0.82 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2811, allocations: 0.8553 MB / 0.8209 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.2816, allocations: 0.827 MB / 0.8217 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.2817, allocations: 39.42 kB / 0.8217 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of SimCode: time 2.444e-06/0.2817, allocations: 0 / 0.8217 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of Templates: time 0.0112/0.2929, allocations: 7.353 MB / 0.8289 GB, free: 14.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)