Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008802/0.0008804, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009169/0.000917, allocations: 172.7 kB / 15.95 MB, free: 208 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.688/1.688, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 252 MB / 0.5102 GB, free: 4.82 MB / 414.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.0006079/0.000608, allocations: 19.98 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6893, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1055/0.7949, allocations: 104.6 MB / 0.8303 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03842/0.8334, allocations: 22.73 MB / 0.8525 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005131/0.8386, allocations: 107.1 kB / 0.8526 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.843, allocations: 0.8928 MB / 0.8534 GB, free: 10.79 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.8536, allocations: 2.836 MB / 0.8562 GB, free: 7.938 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007694/0.8613, allocations: 2.281 MB / 0.8584 GB, free: 5.691 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01175/0.8731, allocations: 8.025 MB / 0.8663 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003955/0.8771, allocations: 1.785 MB / 0.868 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006231/0.8833, allocations: 2.193 MB / 0.8701 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004354/0.8877, allocations: 1.898 MB / 0.872 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008126/0.8886, allocations: 91.94 kB / 0.8721 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.8929, allocations: 1.138 MB / 0.8732 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.8937, allocations: 489.8 kB / 0.8737 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.8949, allocations: 0.5589 MB / 0.8742 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.9, allocations: 3.21 MB / 0.8773 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.9, allocations: 4 kB / 0.8774 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9, allocations: 0 / 0.8774 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001233/0.9002, allocations: 0 / 0.8774 GB, free: 2.207 MB / 0.6856 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.005525/0.9057, allocations: 2.669 MB / 0.88 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.9058, allocations: 8.031 kB / 0.88 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008058/0.9066, allocations: 328.2 kB / 0.8803 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.9105, allocations: 2.019 MB / 0.8823 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.9106, allocations: 127 kB / 0.8824 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/0.9109, allocations: 164 kB / 0.8825 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.9139, allocations: 1.596 MB / 0.8841 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.9139, allocations: 4 kB / 0.8841 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.9141, allocations: 60 kB / 0.8841 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.9141, allocations: 40 kB / 0.8842 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.9162, allocations: 1.151 MB / 0.8853 GB, free: 9.848 MB / 0.7012 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.0113/0.9275, allocations: 7.845 MB / 0.893 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.9283, allocations: 473.6 kB / 0.8934 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.9288, allocations: 327 kB / 0.8937 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/0.9295, allocations: 0.7563 MB / 0.8945 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.9296, allocations: 39.12 kB / 0.8945 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 3.917e-06/0.9296, allocations: 4 kB / 0.8945 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002038/0.9316, allocations: 0.9881 MB / 0.8955 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.9317, allocations: 59.92 kB / 0.8955 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.9347, allocations: 2.242 MB / 0.8977 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.9349, allocations: 49.7 kB / 0.8978 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009933/0.9359, allocations: 1.141 MB / 0.8989 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.9361, allocations: 216.9 kB / 0.8991 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.9362, allocations: 20 kB / 0.8991 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.9363, allocations: 353.9 kB / 0.8995 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.937, allocations: 342.5 kB / 0.8998 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009137/0.9379, allocations: 0.7345 MB / 0.9005 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.9387, allocations: 454.8 kB / 0.9009 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9387, allocations: 4 kB / 0.9009 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00241/0.9411, allocations: 1.26 MB / 0.9022 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.9414, allocations: 348.7 kB / 0.9025 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.9414, allocations: 8 kB / 0.9025 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.9414, allocations: 23.89 kB / 0.9025 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/0.9424, allocations: 259.5 kB / 0.9028 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.9424, allocations: 19.88 kB / 0.9028 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.9441, allocations: 258.1 kB / 0.903 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.9442, allocations: 51.98 kB / 0.9031 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-06/0.9442, allocations: 4 kB / 0.9031 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/0.9459, allocations: 1.015 MB / 0.9041 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9459, allocations: 8 kB / 0.9041 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.946, allocations: 12 kB / 0.9041 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.9468, allocations: 251.6 kB / 0.9043 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.9468, allocations: 20.39 kB / 0.9044 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.9483, allocations: 230.6 kB / 0.9046 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.9484, allocations: 51.98 kB / 0.9046 GB, free: 5.023 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.9496, allocations: 0.5748 MB / 0.9052 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.9499, allocations: 229.1 kB / 0.9054 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.9515, allocations: 0.889 MB / 0.9063 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.9515, allocations: 8 kB / 0.9063 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9515, allocations: 0 / 0.9063 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009605/0.9525, allocations: 0.6856 MB / 0.907 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4665/1.419, allocations: 2.53 MB / 0.9094 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/1.419, allocations: 0.9062 kB / 0.9094 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/1.42, allocations: 128.6 kB / 0.9096 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.29e-05/1.42, allocations: 5.078 kB / 0.9096 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/1.42, allocations: 17 kB / 0.9096 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/1.42, allocations: 3.984 kB / 0.9096 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.42, allocations: 5.031 kB / 0.9096 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/1.424, allocations: 1.311 MB / 0.9109 GB, free: 173 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.425, allocations: 444.8 kB / 0.9113 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005742/1.426, allocations: 12.3 kB / 0.9113 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.427, allocations: 118.1 kB / 0.9114 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.427, allocations: 43.81 kB / 0.9115 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.891e-05/1.427, allocations: 29.61 kB / 0.9115 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003026/1.43, allocations: 1.493 MB / 0.9129 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/1.43, allocations: 0 / 0.9129 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003959/1.434, allocations: 1.09 MB / 0.914 GB, free: 172.3 MB / 0.7169 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 (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.001657/1.436, allocations: 0.7149 MB / 0.9147 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002994/1.439, allocations: 1.343 MB / 0.916 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.439, allocations: 0.5312 kB / 0.916 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006685/1.44, allocations: 330.9 kB / 0.9163 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007887/1.448, allocations: 1.386 MB / 0.9177 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/1.455, allocations: 4.358 MB / 0.9219 GB, free: 169 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/1.457, allocations: 1.582 MB / 0.9235 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00271/1.459, allocations: 497.9 kB / 0.924 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/1.46, allocations: 172.6 kB / 0.9241 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.933e-06/1.46, allocations: 0 / 0.9241 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.06665/1.526, allocations: 43.71 MB / 0.9668 GB, free: 130.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) Environment - environmentSimulation: