Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001928/0.001928, allocations: 198.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.58 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3622, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1184/0.4807, allocations: 111.9 MB / 1.177 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03246/0.5132, allocations: 20.33 MB / 1.197 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00524/0.5185, allocations: 99.31 kB / 1.197 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.5229, allocations: 1.049 MB / 1.198 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.5334, allocations: 3.376 MB / 1.201 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007987/0.5414, allocations: 2.85 MB / 1.204 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01257/0.554, allocations: 9.523 MB / 1.213 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004632/0.5587, allocations: 2.148 MB / 1.215 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007879/0.5666, allocations: 2.395 MB / 1.218 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005085/0.5717, allocations: 2.119 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.5728, allocations: 120 kB / 1.22 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/0.5776, allocations: 1.474 MB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.5789, allocations: 0.5717 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003553/0.5825, allocations: 1.368 MB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007065/0.5895, allocations: 4.249 MB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5896, allocations: 0 / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.166e-06/0.5896, allocations: 0 / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.199e-05/0.5897, allocations: 3.938 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005367/0.595, allocations: 3.222 MB / 1.23 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5951, allocations: 12.03 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.5959, allocations: 328.5 kB / 1.231 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.5993, allocations: 2.154 MB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.5995, allocations: 123 kB / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.5997, allocations: 171.9 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.6023, allocations: 1.616 MB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.6024, allocations: 7.984 kB / 1.235 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.6025, allocations: 64 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.373e-05/0.6026, allocations: 39.94 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.6046, allocations: 1.143 MB / 1.236 GB, free: 13.7 MB / 0.9981 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.01082/0.6155, allocations: 7.889 MB / 1.244 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.6163, allocations: 480.1 kB / 1.244 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.6169, allocations: 322.9 kB / 1.244 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006958/0.6176, allocations: 0.7602 MB / 1.245 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.6176, allocations: 43.06 kB / 1.245 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/0.6176, allocations: 0 / 1.245 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.002265/0.6199, allocations: 0.9881 MB / 1.246 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.62, allocations: 63.97 kB / 1.246 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.6231, allocations: 2.32 MB / 1.248 GB, free: 132 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.6233, allocations: 41.7 kB / 1.249 GB, free: 84 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6371/1.26, allocations: 1.147 MB / 1.25 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/1.261, allocations: 213 kB / 1.25 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/1.261, allocations: 252.7 kB / 1.25 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.261, allocations: 349.7 kB / 1.25 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008425/1.262, allocations: 358.2 kB / 1.251 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/1.263, allocations: 0.754 MB / 1.251 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/1.265, allocations: 0.9731 MB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.265, allocations: 12.06 kB / 1.252 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002936/1.268, allocations: 1.293 MB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/1.268, allocations: 8.938 kB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.268, allocations: 12.48 kB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/1.268, allocations: 13.53 kB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.269, allocations: 249.7 kB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-05/1.269, allocations: 19.62 kB / 1.254 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.271, allocations: 244.5 kB / 1.254 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.271, allocations: 55.25 kB / 1.254 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001517/1.273, allocations: 0.758 MB / 1.255 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008972/1.274, allocations: 0.7378 MB / 1.256 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001301/1.275, allocations: 0.9553 MB / 1.257 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.172e-06/1.275, allocations: 6.688 kB / 1.257 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002244/1.277, allocations: 1.249 MB / 1.258 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.277, allocations: 10.5 kB / 1.258 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.277, allocations: 7.875 kB / 1.258 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.277, allocations: 17.31 kB / 1.258 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/1.278, allocations: 247.8 kB / 1.258 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/1.278, allocations: 26.91 kB / 1.258 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/1.28, allocations: 188.7 kB / 1.258 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/1.28, allocations: 51.22 kB / 1.258 GB, free: 175.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003595/1.28, allocations: 252.4 kB / 1.259 GB, free: 175 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/1.281, allocations: 233.3 kB / 1.259 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/1.282, allocations: 0.8906 MB / 1.26 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/1.282, allocations: 10.69 kB / 1.26 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.283, allocations: 0 / 1.26 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008845/1.283, allocations: 0.6891 MB / 1.26 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/1.287, allocations: 2.563 MB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.287, allocations: 1.812 kB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/1.288, allocations: 125.7 kB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/1.288, allocations: 3.969 kB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/1.288, allocations: 19.19 kB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.288, allocations: 7.344 kB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.288, allocations: 0.7031 kB / 1.263 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/1.29, allocations: 1.317 MB / 1.264 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00088/1.291, allocations: 415.8 kB / 1.265 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/1.291, allocations: 13.27 kB / 1.265 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.292, allocations: 111.4 kB / 1.265 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.293, allocations: 47.23 kB / 1.265 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/1.293, allocations: 32.92 kB / 1.265 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002829/1.296, allocations: 1.55 MB / 1.266 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/1.296, allocations: 0 / 1.266 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003988/1.3, allocations: 1.096 MB / 1.268 GB, free: 171.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/1.301, allocations: 0.7366 MB / 1.268 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003342/1.305, allocations: 1.351 MB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.305, allocations: 4.641 kB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000624/1.305, allocations: 327.9 kB / 1.27 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007074/1.312, allocations: 1.395 MB / 1.271 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/1.319, allocations: 4.518 MB / 1.276 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001581/1.321, allocations: 1.595 MB / 1.277 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002945/1.324, allocations: 500 kB / 1.278 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/1.325, allocations: 180.4 kB / 1.278 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.443e-06/1.325, allocations: 0 / 1.278 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.07125/1.396, allocations: 45.26 MB / 1.322 GB, free: 136.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)