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 2.774/2.774, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001427/0.001427, allocations: 178.1 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.363/2.363, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001395/0.001394, allocations: 90.34 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005579/0.0005582, allocations: 12.55 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2141, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02075/0.2349, allocations: 16.09 MB / 0.9941 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.248, allocations: 7.097 MB / 1.001 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.2488, allocations: 15.88 kB / 1.001 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009614/0.2498, allocations: 186.9 kB / 1.001 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.2517, allocations: 0.4948 MB / 1.002 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.2543, allocations: 0.5898 MB / 1.002 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.256, allocations: 1.091 MB / 1.003 GB, free: 2.734 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006772/0.2567, allocations: 254.5 kB / 1.004 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009536/0.2577, allocations: 354.4 kB / 1.004 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.2582, allocations: 290.7 kB / 1.004 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.2583, allocations: 16 kB / 1.004 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.26, allocations: 0.5809 MB / 1.005 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.2603, allocations: 115.6 kB / 1.005 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2605, allocations: 113.4 kB / 1.005 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.2618, allocations: 0.5807 MB / 1.006 GB, free: 452 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.2618, allocations: 0 / 1.006 GB, free: 452 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2618, allocations: 0 / 1.006 GB, free: 452 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2618, allocations: 0 / 1.006 GB, free: 452 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.001606/0.2635, allocations: 0.7979 MB / 1.006 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2635, allocations: 12.03 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.2638, allocations: 63.25 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.2648, allocations: 420.9 kB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.2648, allocations: 20.56 kB / 1.007 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.2649, allocations: 35.95 kB / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007963/0.2657, allocations: 286.2 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2658, allocations: 0 / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.2658, allocations: 15.98 kB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.2659, allocations: 11.98 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.2666, allocations: 198.1 kB / 1.007 GB, free: 14.49 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.003126/0.2697, allocations: 1.476 MB / 1.009 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.2703, allocations: 158.8 kB / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.2706, allocations: 96.77 kB / 1.009 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002543/0.2732, allocations: 1.288 MB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.2733, allocations: 38.56 kB / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.845e-06/0.2733, allocations: 0 / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001063/0.2743, allocations: 269 kB / 1.011 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2744, allocations: 51.41 kB / 1.011 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2755, allocations: 0.5808 MB / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.2756, allocations: 33.64 kB / 1.011 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.2759, allocations: 272.1 kB / 1.011 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.276, allocations: 51.2 kB / 1.012 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.276, allocations: 8 kB / 1.012 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.2762, allocations: 362.7 kB / 1.012 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.2766, allocations: 72.52 kB / 1.012 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.2771, allocations: 224.5 kB / 1.012 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.2775, allocations: 91.97 kB / 1.012 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2775, allocations: 4 kB / 1.012 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001079/0.2786, allocations: 323.2 kB / 1.013 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.2788, allocations: 157.6 kB / 1.013 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2788, allocations: 4 kB / 1.013 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.2788, allocations: 7.953 kB / 1.013 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004829/0.2793, allocations: 71.84 kB / 1.013 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.2793, allocations: 7.984 kB / 1.013 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006487/0.28, allocations: 51.67 kB / 1.013 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.2801, allocations: 11.98 kB / 1.013 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2801, allocations: 4 kB / 1.013 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008823/0.281, allocations: 243.7 kB / 1.013 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.281, allocations: 4 kB / 1.013 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.281, allocations: 4 kB / 1.013 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.2815, allocations: 67.91 kB / 1.013 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2815, allocations: 4 kB / 1.013 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.2821, allocations: 47.91 kB / 1.013 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.2822, allocations: 12 kB / 1.013 GB, free: 7.984 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.0004024/0.2826, allocations: 265 kB / 1.013 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.2827, allocations: 51.3 kB / 1.014 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/0.2837, allocations: 262.3 kB / 1.014 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.2837, allocations: 7.984 kB / 1.014 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2837, allocations: 0 / 1.014 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.2837, allocations: 3.953 kB / 1.014 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.2855, allocations: 0.7356 MB / 1.015 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.2855, allocations: 4.125 kB / 1.015 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.2858, allocations: 39.92 kB / 1.015 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.2858, allocations: 8.047 kB / 1.015 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.2859, allocations: 11.88 kB / 1.015 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.2859, allocations: 3.984 kB / 1.015 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2859, allocations: 0 / 1.015 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.2867, allocations: 362.8 kB / 1.015 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.287, allocations: 152.4 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.2871, allocations: 4 kB / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.2875, allocations: 27.97 kB / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.786e-05/0.2876, allocations: 19.94 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.2876, allocations: 4 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008408/0.2885, allocations: 414.8 kB / 1.016 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2885, allocations: 0 / 1.016 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001122/0.2896, allocations: 239.6 kB / 1.016 GB, free: 5.277 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.001493/0.2911, allocations: 499.7 kB / 1.016 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.2925, allocations: 331.4 kB / 1.017 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.2925, allocations: 0 / 1.017 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.2929, allocations: 95.83 kB / 1.017 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.2953, allocations: 255.6 kB / 1.017 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2975, allocations: 0.9498 MB / 1.018 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005815/0.2981, allocations: 0.8429 MB / 1.019 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006772/0.2988, allocations: 108.6 kB / 1.019 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.299, allocations: 39.42 kB / 1.019 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/0.299, allocations: 0 / 1.019 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of Templates: time 0.02881/0.3278, allocations: 9.604 MB / 1.028 GB, free: 8.758 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)