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.001248/0.001248, allocations: 119.1 kB / 16.38 MB, free: 6.004 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.001113/0.001113, allocations: 186.4 kB / 17.31 MB, free: 5.621 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.582/1.582, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.848/1.848, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001517/0.001517, allocations: 59.91 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2869, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.5907/0.8777, allocations: 30.24 MB / 0.8143 GB, free: 30.97 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.8967, allocations: 11.52 MB / 0.8256 GB, free: 23.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.8992, allocations: 43.56 kB / 0.8256 GB, free: 23.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.9008, allocations: 426.3 kB / 0.826 GB, free: 22.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005423/0.9063, allocations: 1.37 MB / 0.8274 GB, free: 22.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.91, allocations: 1.139 MB / 0.8285 GB, free: 21.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.9157, allocations: 3.53 MB / 0.8319 GB, free: 20.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002735/0.9185, allocations: 1.327 MB / 0.8332 GB, free: 19.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.9227, allocations: 1.664 MB / 0.8348 GB, free: 19.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004407/0.9272, allocations: 1.612 MB / 0.8364 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009389/0.9281, allocations: 124.7 kB / 0.8365 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.9318, allocations: 1.013 MB / 0.8375 GB, free: 18.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007531/0.9326, allocations: 407.8 kB / 0.8379 GB, free: 18.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001729/0.9343, allocations: 0.7412 MB / 0.8386 GB, free: 17.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004939/0.9392, allocations: 2.194 MB / 0.8408 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.9393, allocations: 2.938 kB / 0.8408 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9393, allocations: 3.938 kB / 0.8408 GB, free: 17.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.685e-05/0.9393, allocations: 0 / 0.8408 GB, free: 17.04 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.004147/0.9435, allocations: 1.652 MB / 0.8424 GB, free: 16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/0.9436, allocations: 10.2 kB / 0.8424 GB, free: 16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/0.9441, allocations: 146.4 kB / 0.8426 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.9465, allocations: 0.9243 MB / 0.8435 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.9466, allocations: 80.75 kB / 0.8435 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/0.9468, allocations: 120.3 kB / 0.8436 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.9482, allocations: 0.6342 MB / 0.8443 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.9482, allocations: 5.312 kB / 0.8443 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.9483, allocations: 21.5 kB / 0.8443 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.9483, allocations: 17.69 kB / 0.8443 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.9493, allocations: 460.6 kB / 0.8448 GB, free: 14.91 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.004929/0.9543, allocations: 2.863 MB / 0.8475 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.9549, allocations: 301.6 kB / 0.8478 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.9552, allocations: 151.8 kB / 0.848 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.9555, allocations: 342.6 kB / 0.8483 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.9555, allocations: 36.31 kB / 0.8483 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/0.9556, allocations: 0 / 0.8483 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.001524/0.9571, allocations: 0.5246 MB / 0.8489 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.9571, allocations: 55.78 kB / 0.8489 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.9585, allocations: 0.8996 MB / 0.8498 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.9586, allocations: 59.48 kB / 0.8498 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.959, allocations: 486.8 kB / 0.8503 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.9591, allocations: 116 kB / 0.8504 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.9597, allocations: 283.4 kB / 0.8507 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.9597, allocations: 335.1 kB / 0.851 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.9601, allocations: 190.9 kB / 0.8512 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.9614, allocations: 1.154 MB / 0.8523 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.9622, allocations: 456.1 kB / 0.8527 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.9622, allocations: 0 / 0.8527 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001494/0.9637, allocations: 0.6546 MB / 0.8534 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.9637, allocations: 5.5 kB / 0.8534 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.9638, allocations: 2.125 kB / 0.8534 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.9638, allocations: 4.375 kB / 0.8534 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.9652, allocations: 238.6 kB / 0.8536 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.9664, allocations: 2.957 MB / 0.8565 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/0.9699, allocations: 0.7031 MB / 0.8572 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.97, allocations: 26.48 kB / 0.8572 GB, free: 5.535 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008975/0.9709, allocations: 364.9 kB / 0.8576 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001186/0.9721, allocations: 1.156 MB / 0.8587 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007655/0.9729, allocations: 462.2 kB / 0.8591 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.9729, allocations: 1.312 kB / 0.8591 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001648/0.9746, allocations: 0.6611 MB / 0.8598 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9746, allocations: 6 kB / 0.8598 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.9746, allocations: 5.859 kB / 0.8598 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.9746, allocations: 6 kB / 0.8598 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.9753, allocations: 159.1 kB / 0.86 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.9754, allocations: 5.344 kB / 0.86 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/0.98, allocations: 0.9631 MB / 0.8609 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.9801, allocations: 26.73 kB / 0.8609 GB, free: 3.008 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.0003755/0.9805, allocations: 245.4 kB / 0.8612 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.9808, allocations: 94.38 kB / 0.8613 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.9821, allocations: 0.5146 MB / 0.8618 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.9821, allocations: 3.984 kB / 0.8618 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9821, allocations: 0 / 0.8618 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.9825, allocations: 204.4 kB / 0.862 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.9826, allocations: 5.438 kB / 0.862 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.983, allocations: 32.48 kB / 0.862 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/0.9831, allocations: 28.86 kB / 0.862 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001317/0.9844, allocations: 0.5448 MB / 0.8626 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001426/0.9859, allocations: 0.8149 MB / 0.8633 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003749/0.9863, allocations: 177.5 kB / 0.8635 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001022/0.9873, allocations: 0.5944 MB / 0.8641 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of Backend: time 1.072e-06/0.9873, allocations: 0 / 0.8641 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004731/0.9921, allocations: 1.026 MB / 0.8651 GB, free: 492 kB / 0.6544 GB Notification: Performance of SimCode: time 0.004333/0.9964, allocations: 2.228 MB / 0.8673 GB, free: 15 MB / 0.67 GB Notification: Performance of Templates: time 0.05762/1.054, allocations: 27.01 MB / 0.8937 GB, free: 10.33 MB / 0.6856 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)