Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.687/1.687, allocations: 287.5 MB / 302.6 MB, free: 8.348 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.001486/0.001486, allocations: 182.7 kB / 371.2 MB, free: 10.82 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.798/1.798, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007466/0.000747, allocations: 111 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 19.58 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01342/0.2352, allocations: 14.37 MB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008123/0.2434, allocations: 6.689 MB / 0.9992 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005678/0.244, allocations: 23.81 kB / 0.9993 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.2448, allocations: 194.9 kB / 0.9995 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.246, allocations: 495.3 kB / 0.9999 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.2475, allocations: 0.5901 MB / 1 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009942/0.2485, allocations: 1.13 MB / 1.002 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.2488, allocations: 283.9 kB / 1.002 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.2493, allocations: 362.4 kB / 1.002 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.2496, allocations: 294.7 kB / 1.003 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.2497, allocations: 16 kB / 1.003 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008078/0.2505, allocations: 0.5224 MB / 1.003 GB, free: 3.195 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.2506, allocations: 83.59 kB / 1.003 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.2506, allocations: 109.5 kB / 1.003 GB, free: 3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.2511, allocations: 0.5222 MB / 1.004 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2511, allocations: 0 / 1.004 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2511, allocations: 0 / 1.004 GB, free: 2.477 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2512, allocations: 0 / 1.004 GB, free: 2.477 MB / 0.6198 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.0009181/0.2521, allocations: 0.7435 MB / 1.004 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2521, allocations: 8.031 kB / 1.004 GB, free: 1.676 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.2522, allocations: 56.28 kB / 1.005 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.2527, allocations: 409 kB / 1.005 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2527, allocations: 20.44 kB / 1.005 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.2527, allocations: 28 kB / 1.005 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.2531, allocations: 219.2 kB / 1.005 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.2531, allocations: 0 / 1.005 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2532, allocations: 12 kB / 1.005 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2532, allocations: 4 kB / 1.005 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.2535, allocations: 173.6 kB / 1.005 GB, free: 0.7305 MB / 0.6198 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.001391/0.2549, allocations: 0.9496 MB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.2552, allocations: 142.6 kB / 1.006 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2554, allocations: 76.8 kB / 1.006 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.2557, allocations: 332.4 kB / 1.007 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2557, allocations: 34.56 kB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 3.136e-06/0.2557, allocations: 0 / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006166/0.2564, allocations: 266 kB / 1.007 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2564, allocations: 51.41 kB / 1.007 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005083/0.2569, allocations: 462 kB / 1.008 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.257, allocations: 33.7 kB / 1.008 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.2572, allocations: 224.6 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2572, allocations: 55.36 kB / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.2572, allocations: 3.938 kB / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2574, allocations: 354.7 kB / 1.008 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.2576, allocations: 75.81 kB / 1.008 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.2578, allocations: 159.6 kB / 1.008 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.2582, allocations: 168.9 kB / 1.009 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2582, allocations: 0 / 1.009 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000508/0.2587, allocations: 253 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.673e-05/0.2588, allocations: 114.6 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2588, allocations: 0 / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2588, allocations: 4 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2591, allocations: 51.91 kB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2591, allocations: 96 / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.2595, allocations: 47.66 kB / 1.009 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.2595, allocations: 16 kB / 1.009 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.2596, allocations: 4 kB / 1.009 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004322/0.26, allocations: 189 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.26, allocations: 0 / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.26, allocations: 4 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2602, allocations: 47.97 kB / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.2602, allocations: 0 / 1.009 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.2605, allocations: 47.66 kB / 1.009 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.2606, allocations: 16 kB / 1.009 GB, free: 12.34 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002324/0.2608, allocations: 245 kB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.2609, allocations: 43.52 kB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000593/0.2615, allocations: 258.8 kB / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2615, allocations: 0 / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2615, allocations: 0 / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2615, allocations: 4.172 kB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.2626, allocations: 0.7104 MB / 1.011 GB, free: 11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.2626, allocations: 11.92 kB / 1.011 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.2628, allocations: 27.98 kB / 1.011 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2628, allocations: 3.984 kB / 1.011 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2628, allocations: 8 kB / 1.011 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.2628, allocations: 7.938 kB / 1.011 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2628, allocations: 4.062 kB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.2633, allocations: 354.3 kB / 1.011 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.2635, allocations: 144.4 kB / 1.011 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.2636, allocations: 4 kB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.2638, allocations: 23.92 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.2639, allocations: 23.91 kB / 1.011 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.2639, allocations: 4 kB / 1.011 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003812/0.2643, allocations: 330.9 kB / 1.011 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2643, allocations: 0 / 1.011 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006664/0.265, allocations: 195.7 kB / 1.012 GB, free: 9.832 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 (16): * Single equations (assignments): 14 * 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.001183/0.2662, allocations: 474 kB / 1.012 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.2669, allocations: 286.7 kB / 1.012 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2669, allocations: 0 / 1.012 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.2671, allocations: 91.89 kB / 1.012 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.2684, allocations: 219.7 kB / 1.013 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2697, allocations: 0.8231 MB / 1.013 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.2701, allocations: 0.8311 MB / 1.014 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003054/0.2704, allocations: 83.77 kB / 1.014 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.2705, allocations: 43.36 kB / 1.014 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.2705, allocations: 0 / 1.014 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of Templates: time 0.01489/0.2854, allocations: 8.146 MB / 1.022 GB, free: 15.02 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)