Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.827/1.827, allocations: 287.5 MB / 302.6 MB, free: 8.215 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.001178/0.001178, allocations: 175 kB / 371.2 MB, free: 10.84 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.713/1.713, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.00109/0.00109, allocations: 104.5 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 11.98 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01412/0.2638, allocations: 16.1 MB / 0.9944 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008843/0.2727, allocations: 7.088 MB / 1.001 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.2735, allocations: 15.88 kB / 1.001 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008572/0.2743, allocations: 190.9 kB / 1.002 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.2758, allocations: 0.5013 MB / 1.002 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.2774, allocations: 0.5816 MB / 1.003 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.2786, allocations: 1.095 MB / 1.004 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.279, allocations: 292.1 kB / 1.004 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.2796, allocations: 350.4 kB / 1.004 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.2799, allocations: 282.8 kB / 1.005 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.2799, allocations: 19.98 kB / 1.005 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.281, allocations: 0.5809 MB / 1.005 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2811, allocations: 111.6 kB / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.2812, allocations: 117.4 kB / 1.005 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.2818, allocations: 0.5807 MB / 1.006 GB, free: 240 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2818, allocations: 0 / 1.006 GB, free: 240 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2818, allocations: 4 kB / 1.006 GB, free: 236 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2818, allocations: 0 / 1.006 GB, free: 236 kB / 0.6198 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.001261/0.2831, allocations: 0.7903 MB / 1.007 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.2832, allocations: 12.03 kB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.2834, allocations: 60.19 kB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.2841, allocations: 453.3 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.2841, allocations: 20.56 kB / 1.007 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.2842, allocations: 28 kB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.2847, allocations: 286.3 kB / 1.007 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2848, allocations: 7.938 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.2848, allocations: 8 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2848, allocations: 8 kB / 1.008 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.2853, allocations: 198.1 kB / 1.008 GB, free: 14.27 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.002181/0.2874, allocations: 1.48 MB / 1.009 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.2878, allocations: 170.8 kB / 1.009 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.288, allocations: 84.81 kB / 1.009 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/0.2898, allocations: 1.295 MB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2899, allocations: 34.55 kB / 1.011 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/0.2899, allocations: 0 / 1.011 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006597/0.2905, allocations: 266.7 kB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.2906, allocations: 51.41 kB / 1.011 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007027/0.2913, allocations: 0.5808 MB / 1.012 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2913, allocations: 29.64 kB / 1.012 GB, free: 9.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.2916, allocations: 272.1 kB / 1.012 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.2917, allocations: 63.19 kB / 1.012 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.2917, allocations: 4 kB / 1.012 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.2919, allocations: 358.8 kB / 1.012 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.2921, allocations: 72.52 kB / 1.012 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.2924, allocations: 214.7 kB / 1.013 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.2928, allocations: 243.1 kB / 1.013 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2928, allocations: 0 / 1.013 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005804/0.2934, allocations: 326.9 kB / 1.013 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.2936, allocations: 157.9 kB / 1.013 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2936, allocations: 7.984 kB / 1.013 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2936, allocations: 4 kB / 1.013 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.2939, allocations: 67.91 kB / 1.013 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.2939, allocations: 4 kB / 1.013 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.2943, allocations: 47.66 kB / 1.013 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.2943, allocations: 16 kB / 1.013 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.2943, allocations: 4 kB / 1.013 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004774/0.2948, allocations: 239.6 kB / 1.014 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2948, allocations: 4 kB / 1.014 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.2948, allocations: 16.17 kB / 1.014 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.2951, allocations: 63.91 kB / 1.014 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2951, allocations: 7.938 kB / 1.014 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.2954, allocations: 47.66 kB / 1.014 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.2954, allocations: 16 kB / 1.014 GB, free: 7.59 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.0002409/0.2957, allocations: 261 kB / 1.014 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.2957, allocations: 47.38 kB / 1.014 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005846/0.2963, allocations: 270.1 kB / 1.014 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.2963, allocations: 0 / 1.014 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.2964, allocations: 4 kB / 1.014 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2964, allocations: 0 / 1.014 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2975, allocations: 0.7478 MB / 1.015 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2975, allocations: 8 kB / 1.015 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.2976, allocations: 31.97 kB / 1.015 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.2976, allocations: 4 kB / 1.015 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2976, allocations: 3.938 kB / 1.015 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.2977, allocations: 4 kB / 1.015 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2977, allocations: 4.125 kB / 1.015 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.2982, allocations: 368.8 kB / 1.015 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.2984, allocations: 156.4 kB / 1.016 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.2984, allocations: 4 kB / 1.016 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.2986, allocations: 15.98 kB / 1.016 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.2987, allocations: 19.98 kB / 1.016 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.2987, allocations: 8.031 kB / 1.016 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004944/0.2992, allocations: 422.7 kB / 1.016 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2992, allocations: 3.938 kB / 1.016 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007821/0.3, allocations: 231.6 kB / 1.016 GB, free: 4.887 MB / 0.6355 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 (17): * Single equations (assignments): 15 * 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.00115/0.3012, allocations: 485.1 kB / 1.017 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007432/0.3019, allocations: 328.5 kB / 1.017 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3019, allocations: 0 / 1.017 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3021, allocations: 99.94 kB / 1.017 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.3035, allocations: 246.6 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.305, allocations: 0.9536 MB / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3054, allocations: 0.8468 MB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004307/0.3059, allocations: 104.3 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.306, allocations: 39.42 kB / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of SimCode: time 3.1e-07/0.306, allocations: 0 / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of Templates: time 0.01739/0.3234, allocations: 9.638 MB / 1.029 GB, free: 8.348 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)