Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 116.5 kB / 16.37 MB, free: 6 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.001107/0.001107, allocations: 188.1 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.757/1.757, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001441/0.001441, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2372, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.44/0.6772, allocations: 30.22 MB / 0.8143 GB, free: 31.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.6943, allocations: 11.54 MB / 0.8256 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.697, allocations: 44 kB / 0.8256 GB, free: 23.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.6989, allocations: 421.8 kB / 0.826 GB, free: 22.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005433/0.7043, allocations: 1.372 MB / 0.8274 GB, free: 22.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.7081, allocations: 1.139 MB / 0.8285 GB, free: 21.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005952/0.7141, allocations: 3.529 MB / 0.8319 GB, free: 20.17 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003467/0.7176, allocations: 1.324 MB / 0.8332 GB, free: 19.76 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00482/0.7224, allocations: 1.664 MB / 0.8348 GB, free: 19.19 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/0.7267, allocations: 1.61 MB / 0.8364 GB, free: 18.69 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007054/0.7274, allocations: 125.1 kB / 0.8365 GB, free: 18.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.7307, allocations: 1.014 MB / 0.8375 GB, free: 18.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005826/0.7313, allocations: 409.9 kB / 0.8379 GB, free: 18.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.7327, allocations: 0.739 MB / 0.8386 GB, free: 17.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.7369, allocations: 2.195 MB / 0.8408 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.737, allocations: 1.609 kB / 0.8408 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.737, allocations: 0 / 0.8408 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.737, allocations: 4 kB / 0.8408 GB, free: 17.08 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003391/0.7404, allocations: 1.651 MB / 0.8424 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.7405, allocations: 10.3 kB / 0.8424 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.7409, allocations: 149.3 kB / 0.8425 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.743, allocations: 0.9247 MB / 0.8434 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.7431, allocations: 79.53 kB / 0.8435 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.7433, allocations: 117.2 kB / 0.8436 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.7448, allocations: 0.6376 MB / 0.8443 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.7448, allocations: 3.25 kB / 0.8443 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.7449, allocations: 22.53 kB / 0.8443 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.7449, allocations: 17.69 kB / 0.8443 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.746, allocations: 468.5 kB / 0.8447 GB, free: 14.95 MB / 0.6544 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.005284/0.7513, allocations: 2.852 MB / 0.8475 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005667/0.7519, allocations: 303.8 kB / 0.8478 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.7522, allocations: 149.2 kB / 0.848 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.7524, allocations: 348.1 kB / 0.8483 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.7524, allocations: 36.88 kB / 0.8483 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 3.026e-06/0.7525, allocations: 1.359 kB / 0.8483 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001394/0.7539, allocations: 0.5236 MB / 0.8488 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.7539, allocations: 54.44 kB / 0.8489 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.7549, allocations: 0.8957 MB / 0.8498 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.7551, allocations: 57.98 kB / 0.8498 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.7554, allocations: 492 kB / 0.8503 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.7555, allocations: 107.8 kB / 0.8504 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.7559, allocations: 291.1 kB / 0.8507 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.7559, allocations: 331.9 kB / 0.851 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.7563, allocations: 194.5 kB / 0.8512 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.7574, allocations: 1.155 MB / 0.8523 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.7582, allocations: 455.2 kB / 0.8527 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7582, allocations: 1.125 kB / 0.8527 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001291/0.7595, allocations: 0.6531 MB / 0.8534 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.7595, allocations: 5.906 kB / 0.8534 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.7596, allocations: 2.375 kB / 0.8534 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.7596, allocations: 7.969 kB / 0.8534 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.761, allocations: 233.4 kB / 0.8536 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.762, allocations: 2.956 MB / 0.8565 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.7654, allocations: 0.706 MB / 0.8572 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/0.7655, allocations: 27.83 kB / 0.8572 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007238/0.7662, allocations: 369.9 kB / 0.8576 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001098/0.7673, allocations: 1.155 MB / 0.8587 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007301/0.7681, allocations: 458 kB / 0.8591 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.7681, allocations: 9.656 kB / 0.8591 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001556/0.7696, allocations: 0.6497 MB / 0.8598 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7697, allocations: 6.562 kB / 0.8598 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.7697, allocations: 3.188 kB / 0.8598 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.7697, allocations: 10.06 kB / 0.8598 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.7704, allocations: 158.8 kB / 0.86 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.7704, allocations: 13.56 kB / 0.86 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/0.7748, allocations: 0.9623 MB / 0.8609 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.7749, allocations: 22.25 kB / 0.8609 GB, free: 3.031 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003179/0.7753, allocations: 241.7 kB / 0.8612 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.7755, allocations: 98.97 kB / 0.8613 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.7767, allocations: 0.5038 MB / 0.8617 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.7767, allocations: 3.938 kB / 0.8617 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7767, allocations: 0 / 0.8617 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.7768, allocations: 7.984 kB / 0.8618 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.7789, allocations: 1.236 MB / 0.863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.7789, allocations: 6.766 kB / 0.863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.7794, allocations: 122 kB / 0.8631 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.7795, allocations: 3.375 kB / 0.8631 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.7795, allocations: 11.62 kB / 0.8631 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.7807, allocations: 2.941 MB / 0.866 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.7808, allocations: 5.75 kB / 0.866 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.7819, allocations: 0.5683 MB / 0.8665 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.7823, allocations: 208.8 kB / 0.8667 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.7825, allocations: 15.52 kB / 0.8667 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.783, allocations: 25.56 kB / 0.8668 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.7831, allocations: 28.94 kB / 0.8668 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.7831, allocations: 18.3 kB / 0.8668 GB, free: 13.93 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008747/0.784, allocations: 0.5915 MB / 0.8674 GB, free: 13.59 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.784, allocations: 0 / 0.8674 GB, free: 13.59 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00206/0.7861, allocations: 0.5461 MB / 0.8679 GB, free: 13.46 MB / 0.67 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009584/0.787, allocations: 322.5 kB / 0.8682 GB, free: 13.29 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002829/0.7899, allocations: 0.8463 MB / 0.8691 GB, free: 12.95 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7899, allocations: 1.125 kB / 0.8691 GB, free: 12.95 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.7905, allocations: 226.4 kB / 0.8693 GB, free: 12.87 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/0.7926, allocations: 420 kB / 0.8697 GB, free: 12.67 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.7957, allocations: 1.549 MB / 0.8712 GB, free: 11.72 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000716/0.7964, allocations: 1.021 MB / 0.8722 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.7967, allocations: 87.62 kB / 0.8723 GB, free: 10.85 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/0.7967, allocations: 0 / 0.8723 GB, free: 10.85 MB / 0.67 GB Notification: Performance of Templates: time 0.04824/0.845, allocations: 36.17 MB / 0.9076 GB, free: 11.57 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)