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.756/1.756, allocations: 288.4 MB / 303.4 MB, free: 8.008 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.001027/0.001027, allocations: 168.6 kB / 372 MB, free: 10.27 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.6307 GB, free: 10 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.0008444/0.0008441, allocations: 79.92 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005398, allocations: 11.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2569, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01398/0.2709, allocations: 16.1 MB / 0.9953 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008777/0.2798, allocations: 7.085 MB / 1.002 GB, free: 4.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006467/0.2804, allocations: 15.88 kB / 1.002 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.2812, allocations: 187 kB / 1.002 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.2825, allocations: 0.5001 MB / 1.003 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.2843, allocations: 0.5882 MB / 1.003 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2856, allocations: 1.087 MB / 1.005 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.286, allocations: 255.3 kB / 1.005 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.2865, allocations: 354.4 kB / 1.005 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.2868, allocations: 294.7 kB / 1.005 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.2869, allocations: 16 kB / 1.005 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009711/0.2878, allocations: 0.577 MB / 1.006 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.2879, allocations: 119.6 kB / 1.006 GB, free: 452 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.288, allocations: 113.5 kB / 1.006 GB, free: 332 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007714/0.2888, allocations: 0.5884 MB / 1.007 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.2888, allocations: 3.938 kB / 1.007 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2888, allocations: 0 / 1.007 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.2889, allocations: 0 / 1.007 GB, free: 15.73 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.00117/0.29, allocations: 0.7863 MB / 1.008 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2901, allocations: 12.03 kB / 1.008 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2902, allocations: 63.23 kB / 1.008 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.2908, allocations: 420.9 kB / 1.008 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2909, allocations: 24.56 kB / 1.008 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.2909, allocations: 28 kB / 1.008 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.2915, allocations: 298.1 kB / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2915, allocations: 0 / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.2915, allocations: 8 kB / 1.008 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.2915, allocations: 8 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.2919, allocations: 202.1 kB / 1.009 GB, free: 13.79 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.001843/0.2938, allocations: 1.48 MB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.2941, allocations: 170.8 kB / 1.01 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.2943, allocations: 80.81 kB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.296, allocations: 1.295 MB / 1.012 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2961, allocations: 30.56 kB / 1.012 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.462e-06/0.2961, allocations: 7.938 kB / 1.012 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006796/0.2968, allocations: 265 kB / 1.012 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.2968, allocations: 51.41 kB / 1.012 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.2976, allocations: 0.5847 MB / 1.012 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.2976, allocations: 29.7 kB / 1.012 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.2978, allocations: 272.1 kB / 1.013 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.2979, allocations: 55.19 kB / 1.013 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.2979, allocations: 8 kB / 1.013 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2981, allocations: 362.7 kB / 1.013 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.2983, allocations: 76.52 kB / 1.013 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.2987, allocations: 214.7 kB / 1.013 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.299, allocations: 101 kB / 1.013 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.299, allocations: 4 kB / 1.014 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005999/0.2996, allocations: 315.1 kB / 1.014 GB, free: 8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.2997, allocations: 161.7 kB / 1.014 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2997, allocations: 4 kB / 1.014 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.2998, allocations: 4 kB / 1.014 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3, allocations: 67.84 kB / 1.014 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.3001, allocations: 11.95 kB / 1.014 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.3004, allocations: 47.75 kB / 1.014 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.3005, allocations: 19.94 kB / 1.014 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.3005, allocations: 4 kB / 1.014 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004959/0.301, allocations: 247.6 kB / 1.014 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.301, allocations: 0 / 1.014 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.301, allocations: 8 kB / 1.014 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3013, allocations: 64.34 kB / 1.014 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3013, allocations: 4 kB / 1.014 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.3016, allocations: 47.72 kB / 1.014 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.3016, allocations: 16 kB / 1.014 GB, free: 7.27 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.0002503/0.3019, allocations: 257 kB / 1.015 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.3019, allocations: 63.28 kB / 1.015 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.3025, allocations: 266.6 kB / 1.015 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3025, allocations: 4 kB / 1.015 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3026, allocations: 0 / 1.015 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3026, allocations: 0 / 1.015 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.3037, allocations: 0.7479 MB / 1.016 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3037, allocations: 0 / 1.016 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.3038, allocations: 39.91 kB / 1.016 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3038, allocations: 0 / 1.016 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3039, allocations: 11.95 kB / 1.016 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3039, allocations: 0 / 1.016 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3039, allocations: 4 kB / 1.016 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.3044, allocations: 371 kB / 1.016 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3046, allocations: 148.4 kB / 1.016 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.3046, allocations: 8 kB / 1.016 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.3049, allocations: 19.98 kB / 1.016 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.3049, allocations: 7.984 kB / 1.016 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.305, allocations: 11.98 kB / 1.016 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004728/0.3054, allocations: 422.8 kB / 1.017 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3054, allocations: 0 / 1.017 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007424/0.3062, allocations: 227.6 kB / 1.017 GB, free: 4.574 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.001205/0.3074, allocations: 0.4898 MB / 1.017 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.3082, allocations: 327.7 kB / 1.018 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.3082, allocations: 4 kB / 1.018 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.3084, allocations: 92.83 kB / 1.018 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.3098, allocations: 249.4 kB / 1.018 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3113, allocations: 0.9536 MB / 1.019 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.3118, allocations: 0.8468 MB / 1.02 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003822/0.3122, allocations: 104.3 kB / 1.02 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.3123, allocations: 39.44 kB / 1.02 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of SimCode: time 9.22e-07/0.3123, allocations: 4 kB / 1.02 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of Templates: time 0.01702/0.3293, allocations: 9.616 MB / 1.029 GB, free: 8.027 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)