Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.0008232, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000995/0.0009952, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006091/0.0006092, allocations: 19.41 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2559, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01723/0.2731, allocations: 16.1 MB / 0.803 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.2833, allocations: 7.101 MB / 0.8099 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006921/0.284, allocations: 15.88 kB / 0.81 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008744/0.2849, allocations: 190.9 kB / 0.8101 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.2865, allocations: 0.4897 MB / 0.8106 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.2883, allocations: 0.5937 MB / 0.8112 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.2897, allocations: 1.083 MB / 0.8122 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000542/0.2903, allocations: 258.5 kB / 0.8125 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007915/0.2911, allocations: 354.4 kB / 0.8128 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000495/0.2916, allocations: 290.7 kB / 0.8131 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.221e-05/0.2917, allocations: 12 kB / 0.8131 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.2931, allocations: 0.5848 MB / 0.8137 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.2933, allocations: 115.6 kB / 0.8138 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.2935, allocations: 113.4 kB / 0.8139 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000769/0.2942, allocations: 0.5846 MB / 0.8145 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2942, allocations: 3.984 kB / 0.8145 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2943, allocations: 4 kB / 0.8145 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.2943, allocations: 0 / 0.8145 GB, free: 15.98 MB / 0.6387 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.001138/0.2954, allocations: 0.7862 MB / 0.8153 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2955, allocations: 8.031 kB / 0.8153 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.2956, allocations: 67.25 kB / 0.8153 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.2962, allocations: 424.9 kB / 0.8157 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.2962, allocations: 20.56 kB / 0.8158 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.2963, allocations: 28 kB / 0.8158 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.2968, allocations: 298.1 kB / 0.8161 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2968, allocations: 0 / 0.8161 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.2969, allocations: 15.94 kB / 0.8161 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2969, allocations: 4 kB / 0.8161 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.2973, allocations: 202.1 kB / 0.8163 GB, free: 14.04 MB / 0.6387 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.001949/0.2993, allocations: 1.48 MB / 0.8177 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.2996, allocations: 166.8 kB / 0.8179 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.2998, allocations: 88.81 kB / 0.818 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/0.3013, allocations: 1.284 MB / 0.8192 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3014, allocations: 38.5 kB / 0.8193 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.3014, allocations: 0 / 0.8193 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0005739/0.302, allocations: 259.9 kB / 0.8195 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.302, allocations: 59.39 kB / 0.8196 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/0.3027, allocations: 0.573 MB / 0.8201 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3027, allocations: 33.7 kB / 0.8202 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.3029, allocations: 272.1 kB / 0.8204 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.303, allocations: 63.17 kB / 0.8205 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.303, allocations: 4 kB / 0.8205 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3031, allocations: 358.8 kB / 0.8208 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.3033, allocations: 76.5 kB / 0.8209 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.3036, allocations: 210.7 kB / 0.8211 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.3038, allocations: 102.8 kB / 0.8212 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3038, allocations: 0 / 0.8212 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005202/0.3043, allocations: 320.7 kB / 0.8215 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.3044, allocations: 165.8 kB / 0.8217 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3044, allocations: 3.984 kB / 0.8217 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3045, allocations: 4 kB / 0.8217 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3047, allocations: 63.91 kB / 0.8217 GB, free: 8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3048, allocations: 7.953 kB / 0.8217 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.3051, allocations: 51.66 kB / 0.8218 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.3051, allocations: 16 kB / 0.8218 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.3051, allocations: 7.125 kB / 0.8218 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004415/0.3056, allocations: 243.7 kB / 0.822 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.3056, allocations: 4 kB / 0.822 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.3056, allocations: 4.188 kB / 0.822 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.3058, allocations: 63.89 kB / 0.8221 GB, free: 7.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3058, allocations: 7.938 kB / 0.8221 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.3061, allocations: 51.84 kB / 0.8222 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3061, allocations: 12 kB / 0.8222 GB, free: 7.543 MB / 0.6387 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.000225/0.3063, allocations: 257.7 kB / 0.8224 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.3064, allocations: 63.22 kB / 0.8225 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/0.3069, allocations: 272.1 kB / 0.8227 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.307, allocations: 0 / 0.8227 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.307, allocations: 4 kB / 0.8227 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.307, allocations: 0 / 0.8227 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009533/0.3079, allocations: 0.7395 MB / 0.8235 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.308, allocations: 0 / 0.8235 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3081, allocations: 44.03 kB / 0.8235 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3081, allocations: 4 kB / 0.8235 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3081, allocations: 7.953 kB / 0.8235 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3081, allocations: 4 kB / 0.8235 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3081, allocations: 3.984 kB / 0.8235 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.3086, allocations: 358.1 kB / 0.8239 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.3087, allocations: 156.4 kB / 0.824 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.3088, allocations: 4 kB / 0.824 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.309, allocations: 23.98 kB / 0.824 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.309, allocations: 11.98 kB / 0.8241 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3091, allocations: 4 kB / 0.8241 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00042/0.3095, allocations: 426.7 kB / 0.8245 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3095, allocations: 0 / 0.8245 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006875/0.3102, allocations: 231.6 kB / 0.8247 GB, free: 4.836 MB / 0.6387 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.001086/0.3113, allocations: 495.7 kB / 0.8252 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006788/0.312, allocations: 327.2 kB / 0.8255 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.312, allocations: 0 / 0.8255 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3122, allocations: 91.88 kB / 0.8256 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.3134, allocations: 253.3 kB / 0.8258 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.315, allocations: 0.9576 MB / 0.8267 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.3155, allocations: 0.8428 MB / 0.8276 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003451/0.3159, allocations: 100.3 kB / 0.8277 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.316, allocations: 43.42 kB / 0.8277 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.316, allocations: 0 / 0.8277 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.01644/0.3324, allocations: 9.619 MB / 0.8371 GB, free: 8.34 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: