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.69/2.69, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.00159/0.001589, allocations: 182.7 kB / 370.8 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.179/2.179, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001104/0.001104, allocations: 95.66 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006621/0.0006622, allocations: 11.41 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01899/0.2423, allocations: 14.84 MB / 0.9927 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.2548, allocations: 6.685 MB / 0.9992 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/0.2555, allocations: 11.94 kB / 0.9992 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/0.2568, allocations: 290.7 kB / 0.9995 GB, free: 6.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.259, allocations: 0.553 MB / 1 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006721/0.2657, allocations: 1.69 MB / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2672, allocations: 0.5817 MB / 1.002 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.2677, allocations: 270.5 kB / 1.003 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007233/0.2684, allocations: 322.9 kB / 1.003 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.2688, allocations: 223 kB / 1.003 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.2689, allocations: 19.94 kB / 1.003 GB, free: 2.871 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.2701, allocations: 447.3 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2703, allocations: 111.6 kB / 1.004 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2704, allocations: 113.5 kB / 1.004 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009753/0.2714, allocations: 0.5338 MB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2715, allocations: 3.938 kB / 1.004 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2715, allocations: 0 / 1.004 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2715, allocations: 4 kB / 1.004 GB, free: 1.664 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001386/0.2729, allocations: 0.767 MB / 1.005 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2729, allocations: 12.03 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.2731, allocations: 59.25 kB / 1.005 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007405/0.2739, allocations: 420.9 kB / 1.005 GB, free: 332 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.2739, allocations: 20.56 kB / 1.005 GB, free: 312 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.274, allocations: 39.89 kB / 1.006 GB, free: 272 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.2747, allocations: 286.2 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2748, allocations: 0 / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.2748, allocations: 12 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2748, allocations: 4 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.2756, allocations: 202 kB / 1.006 GB, free: 15.75 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.002959/0.2785, allocations: 1.492 MB / 1.007 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.2791, allocations: 170.8 kB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002523/0.2816, allocations: 1.288 MB / 1.009 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.2817, allocations: 30.56 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.677e-06/0.2817, allocations: 4 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001098/0.2828, allocations: 267.3 kB / 1.009 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.2829, allocations: 55.41 kB / 1.009 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.284, allocations: 0.573 MB / 1.01 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.2841, allocations: 33.7 kB / 1.01 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.2844, allocations: 276.1 kB / 1.01 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.2845, allocations: 55.19 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.2845, allocations: 8 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2847, allocations: 358.8 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.285, allocations: 76.5 kB / 1.011 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004637/0.2855, allocations: 214.7 kB / 1.011 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.2859, allocations: 94.03 kB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.2859, allocations: 8 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001065/0.287, allocations: 312.9 kB / 1.011 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005313/0.2875, allocations: 0.9677 MB / 1.012 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2876, allocations: 0 / 1.012 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.2876, allocations: 4 kB / 1.012 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.2881, allocations: 67.91 kB / 1.012 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.2881, allocations: 11.97 kB / 1.012 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.2888, allocations: 55.59 kB / 1.012 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.2889, allocations: 12.09 kB / 1.012 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2889, allocations: 9.828 kB / 1.012 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008519/0.2898, allocations: 248.2 kB / 1.012 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2898, allocations: 4 kB / 1.012 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2898, allocations: 4 kB / 1.012 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.2903, allocations: 67.86 kB / 1.013 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.2903, allocations: 4 kB / 1.013 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.291, allocations: 47.84 kB / 1.013 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.291, allocations: 16 kB / 1.013 GB, free: 8.473 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.0003947/0.2914, allocations: 260.1 kB / 1.013 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.2916, allocations: 47.44 kB / 1.013 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009274/0.2925, allocations: 277.5 kB / 1.013 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.2925, allocations: 0 / 1.013 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2925, allocations: 0 / 1.013 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2926, allocations: 7.984 kB / 1.013 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.2942, allocations: 0.7363 MB / 1.014 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2942, allocations: 3.984 kB / 1.014 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.2945, allocations: 44.05 kB / 1.014 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.2946, allocations: 0 / 1.014 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2946, allocations: 4 kB / 1.014 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.2946, allocations: 4 kB / 1.014 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.2946, allocations: 7.938 kB / 1.014 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.2955, allocations: 413 kB / 1.014 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.2958, allocations: 156.4 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.2959, allocations: 3.953 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.2963, allocations: 19.98 kB / 1.015 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.2964, allocations: 15.97 kB / 1.015 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.2964, allocations: 12 kB / 1.015 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007608/0.2972, allocations: 410.8 kB / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2972, allocations: 0 / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001257/0.2985, allocations: 231.7 kB / 1.015 GB, free: 5.707 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.001554/0.3, allocations: 487.7 kB / 1.016 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.3013, allocations: 330.2 kB / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3014, allocations: 0 / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.3017, allocations: 96.83 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.304, allocations: 259.9 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.3061, allocations: 0.9497 MB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.3067, allocations: 0.8584 MB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006535/0.3074, allocations: 100.3 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3075, allocations: 39.42 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of SimCode: time 1.323e-06/0.3075, allocations: 0 / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of Templates: time 0.03828/0.3458, allocations: 9.599 MB / 1.028 GB, free: 9.184 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)