Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.861/1.861, allocations: 288.4 MB / 304.3 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 175.8 kB / 372.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 0.6316 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008571/0.0008572, allocations: 112 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004409, allocations: 15.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.227, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01299/0.2401, allocations: 16.1 MB / 0.9965 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009597/0.2497, allocations: 7.085 MB / 1.003 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005543/0.2503, allocations: 15.88 kB / 1.003 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007685/0.2511, allocations: 190.9 kB / 1.004 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.2522, allocations: 0.5287 MB / 1.004 GB, free: 3.387 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.2537, allocations: 0.5898 MB / 1.005 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009247/0.2547, allocations: 1.107 MB / 1.006 GB, free: 1.695 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.255, allocations: 277 kB / 1.006 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.2555, allocations: 362.4 kB / 1.006 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.2558, allocations: 290.8 kB / 1.007 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.2558, allocations: 23.88 kB / 1.007 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008708/0.2567, allocations: 0.6588 MB / 1.007 GB, free: 96 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.2568, allocations: 107.7 kB / 1.007 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.257, allocations: 240.5 kB / 1.008 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.2577, allocations: 0.6079 MB / 1.008 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2577, allocations: 0 / 1.008 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2577, allocations: 7.938 kB / 1.008 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.2577, allocations: 4 kB / 1.008 GB, free: 15.12 MB / 0.6355 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.001074/0.2588, allocations: 0.7864 MB / 1.009 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2589, allocations: 8.031 kB / 1.009 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.259, allocations: 64.19 kB / 1.009 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005339/0.2596, allocations: 449.3 kB / 1.01 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.2596, allocations: 24.56 kB / 1.01 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.2596, allocations: 32 kB / 1.01 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.2601, allocations: 286.2 kB / 1.01 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2601, allocations: 4 kB / 1.01 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.2602, allocations: 12 kB / 1.01 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.2602, allocations: 8 kB / 1.01 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.2606, allocations: 194.1 kB / 1.01 GB, free: 13.17 MB / 0.6355 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.00173/0.2623, allocations: 1.484 MB / 1.011 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.2626, allocations: 158.8 kB / 1.012 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2628, allocations: 96.8 kB / 1.012 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/0.2643, allocations: 1.288 MB / 1.013 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2644, allocations: 38.56 kB / 1.013 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.456e-06/0.2644, allocations: 0 / 1.013 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006041/0.265, allocations: 265.1 kB / 1.013 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.265, allocations: 51.41 kB / 1.013 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.2657, allocations: 0.5808 MB / 1.014 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.2657, allocations: 29.7 kB / 1.014 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.2659, allocations: 264.1 kB / 1.014 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.2659, allocations: 59.19 kB / 1.014 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.266, allocations: 12 kB / 1.014 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2661, allocations: 358.8 kB / 1.015 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.2663, allocations: 72.52 kB / 1.015 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.2666, allocations: 214.7 kB / 1.015 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.267, allocations: 243 kB / 1.015 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.267, allocations: 0 / 1.015 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005478/0.2676, allocations: 316.9 kB / 1.015 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.2677, allocations: 169.7 kB / 1.016 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2677, allocations: 0 / 1.016 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2678, allocations: 4.094 kB / 1.016 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.268, allocations: 67.91 kB / 1.016 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.268, allocations: 4 kB / 1.016 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.2684, allocations: 55.58 kB / 1.016 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2684, allocations: 16 kB / 1.016 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.2684, allocations: 4 kB / 1.016 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004687/0.2689, allocations: 250.7 kB / 1.016 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2689, allocations: 4 kB / 1.016 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.2689, allocations: 8.188 kB / 1.016 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.2692, allocations: 63.91 kB / 1.016 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2692, allocations: 4 kB / 1.016 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.2695, allocations: 51.66 kB / 1.016 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2695, allocations: 12 kB / 1.016 GB, free: 6.488 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002335/0.2697, allocations: 258.6 kB / 1.016 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.41e-05/0.2698, allocations: 47.44 kB / 1.016 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.2706, allocations: 281.3 kB / 1.017 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2706, allocations: 0 / 1.017 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2706, allocations: 0 / 1.017 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.2708, allocations: 152.4 kB / 1.017 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.2708, allocations: 0 / 1.017 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.271, allocations: 31.83 kB / 1.017 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.2711, allocations: 7.984 kB / 1.017 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004547/0.2716, allocations: 294.7 kB / 1.017 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004631/0.272, allocations: 424.5 kB / 1.018 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001715/0.2722, allocations: 83.95 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004555/0.2727, allocations: 414.8 kB / 1.018 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of Backend: time 6.31e-07/0.2727, allocations: 0 / 1.018 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002274/0.275, allocations: 0.8361 MB / 1.019 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002187/0.2772, allocations: 1.547 MB / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of Templates: time 0.01759/0.2948, allocations: 11.23 MB / 1.031 GB, free: 7.07 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)