Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 213.7 kB / 23.02 MB, free: 2.949 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.696/1.696, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.457/3.457, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.007837/0.007837, allocations: 63.89 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9285/0.9363, allocations: 180 MB / 1.353 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1412/1.077, allocations: 103.8 MB / 1.454 GB, free: 9.469 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.03631/1.114, allocations: 18.75 MB / 1.473 GB, free: 6.68 MB / 1.151 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005146/1.119, allocations: 150.6 kB / 1.473 GB, free: 6.531 MB / 1.151 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/1.123, allocations: 1.281 MB / 1.474 GB, free: 5.242 MB / 1.151 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/1.136, allocations: 3.943 MB / 1.478 GB, free: 1.285 MB / 1.151 GB Notification: Performance of NFTyping.typeClassSections: time 0.009097/1.145, allocations: 3.135 MB / 1.481 GB, free: 14.19 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.01263/1.158, allocations: 7.212 MB / 1.488 GB, free: 6.961 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/1.162, allocations: 1.885 MB / 1.49 GB, free: 5.016 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009158/1.171, allocations: 3.128 MB / 1.493 GB, free: 1.883 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005671/1.177, allocations: 2.077 MB / 1.495 GB, free: 15.8 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/1.178, allocations: 256 kB / 1.495 GB, free: 15.55 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/1.183, allocations: 1.431 MB / 1.496 GB, free: 14.11 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/1.184, allocations: 0.7158 MB / 1.497 GB, free: 13.39 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.003028/1.187, allocations: 1.201 MB / 1.498 GB, free: 12.19 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.009293/1.197, allocations: 4.441 MB / 1.503 GB, free: 7.73 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.197, allocations: 4 kB / 1.503 GB, free: 7.727 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.593e-06/1.197, allocations: 0 / 1.503 GB, free: 7.727 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001476/1.197, allocations: 3.938 kB / 1.503 GB, free: 7.723 MB / 1.182 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.008333/1.205, allocations: 3.194 MB / 1.506 GB, free: 4.477 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.205, allocations: 16.88 kB / 1.506 GB, free: 4.461 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/1.206, allocations: 338.3 kB / 1.506 GB, free: 4.129 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005535/1.212, allocations: 2.143 MB / 1.508 GB, free: 1.906 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/1.212, allocations: 123 kB / 1.508 GB, free: 1.785 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/1.212, allocations: 168 kB / 1.509 GB, free: 1.621 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/1.216, allocations: 1.913 MB / 1.51 GB, free: 15.57 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/1.216, allocations: 7.938 kB / 1.51 GB, free: 15.56 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/1.216, allocations: 67.98 kB / 1.51 GB, free: 15.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/1.217, allocations: 43.94 kB / 1.511 GB, free: 15.45 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/1.219, allocations: 1.139 MB / 1.512 GB, free: 14.31 MB / 1.198 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.01265/1.232, allocations: 5.481 MB / 1.517 GB, free: 8.703 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/1.233, allocations: 454.2 kB / 1.517 GB, free: 8.246 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/1.233, allocations: 294.8 kB / 1.518 GB, free: 7.953 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/1.234, allocations: 80.38 kB / 1.518 GB, free: 7.875 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/1.234, allocations: 43 kB / 1.518 GB, free: 7.824 MB / 1.198 GB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/1.234, allocations: 4 kB / 1.518 GB, free: 7.82 MB / 1.198 GB Notification: Performance of matching and sorting (n=60): time 0.002547/1.236, allocations: 0.9721 MB / 1.519 GB, free: 6.844 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.236, allocations: 59.84 kB / 1.519 GB, free: 6.773 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/1.241, allocations: 2.064 MB / 1.521 GB, free: 4.684 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/1.241, allocations: 45.7 kB / 1.521 GB, free: 4.633 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/1.242, allocations: 1.165 MB / 1.522 GB, free: 3.453 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/1.243, allocations: 226.1 kB / 1.522 GB, free: 3.23 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005149/1.243, allocations: 254.8 kB / 1.522 GB, free: 2.977 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.243, allocations: 345.9 kB / 1.523 GB, free: 2.633 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008367/1.244, allocations: 365.9 kB / 1.523 GB, free: 2.273 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.246, allocations: 1.198 MB / 1.524 GB, free: 0.8047 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/1.248, allocations: 0.9822 MB / 1.525 GB, free: 15.71 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/1.248, allocations: 4 kB / 1.525 GB, free: 15.71 MB / 1.214 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003045/1.251, allocations: 1.273 MB / 1.527 GB, free: 14.43 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/1.251, allocations: 14.75 kB / 1.527 GB, free: 14.41 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.251, allocations: 8 kB / 1.527 GB, free: 14.41 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.263e-05/1.251, allocations: 16 kB / 1.527 GB, free: 14.39 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.252, allocations: 255.6 kB / 1.527 GB, free: 14.14 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.851e-05/1.252, allocations: 23.92 kB / 1.527 GB, free: 14.12 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.254, allocations: 135.1 kB / 1.527 GB, free: 13.98 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.254, allocations: 55.98 kB / 1.527 GB, free: 13.93 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002023/1.256, allocations: 0.7563 MB / 1.528 GB, free: 13.17 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00167/1.258, allocations: 1.191 MB / 1.529 GB, free: 11.71 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001794/1.259, allocations: 0.9487 MB / 1.53 GB, free: 10.64 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.01e-05/1.259, allocations: 8 kB / 1.53 GB, free: 10.64 MB / 1.214 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.00297/1.262, allocations: 1.236 MB / 1.531 GB, free: 9.391 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.262, allocations: 11.94 kB / 1.531 GB, free: 9.379 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/1.262, allocations: 12 kB / 1.531 GB, free: 9.367 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/1.262, allocations: 16.81 kB / 1.531 GB, free: 9.352 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.263, allocations: 251.6 kB / 1.531 GB, free: 9.105 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/1.263, allocations: 19.92 kB / 1.531 GB, free: 9.086 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.265, allocations: 127.3 kB / 1.531 GB, free: 8.961 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.265, allocations: 51.98 kB / 1.532 GB, free: 8.91 MB / 1.214 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.00043/1.266, allocations: 248.4 kB / 1.532 GB, free: 8.66 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007889/1.267, allocations: 226.5 kB / 1.532 GB, free: 8.438 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.269, allocations: 0.866 MB / 1.533 GB, free: 7.562 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/1.269, allocations: 11.98 kB / 1.533 GB, free: 7.551 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.269, allocations: 3.938 kB / 1.533 GB, free: 7.547 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/1.27, allocations: 0.6953 MB / 1.534 GB, free: 6.82 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/1.276, allocations: 2.173 MB / 1.536 GB, free: 4.605 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.276, allocations: 4 kB / 1.536 GB, free: 4.602 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/1.276, allocations: 127.8 kB / 1.536 GB, free: 4.477 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/1.276, allocations: 4 kB / 1.536 GB, free: 4.473 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/1.276, allocations: 16.09 kB / 1.536 GB, free: 4.457 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/1.276, allocations: 4 kB / 1.536 GB, free: 4.453 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.276, allocations: 0 / 1.536 GB, free: 4.453 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/1.279, allocations: 1.316 MB / 1.537 GB, free: 3.109 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.28, allocations: 302.4 kB / 1.537 GB, free: 2.812 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/1.281, allocations: 19.98 kB / 1.537 GB, free: 2.793 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.282, allocations: 43.95 kB / 1.537 GB, free: 2.75 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.282, allocations: 40.42 kB / 1.537 GB, free: 2.707 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/1.282, allocations: 39.97 kB / 1.537 GB, free: 2.668 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.003343/1.286, allocations: 1.362 MB / 1.539 GB, free: 1.293 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.3e-07/1.286, allocations: 0 / 1.539 GB, free: 1.293 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004195/1.29, allocations: 1.173 MB / 1.54 GB, free: 120 kB / 1.214 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.003652/1.293, allocations: 0.7594 MB / 1.541 GB, free: 15.5 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.003697/1.297, allocations: 1.273 MB / 1.542 GB, free: 14.23 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.297, allocations: 4.625 kB / 1.542 GB, free: 14.23 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.0007216/1.298, allocations: 310.9 kB / 1.542 GB, free: 13.93 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005907/1.304, allocations: 1.153 MB / 1.543 GB, free: 12.82 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/1.312, allocations: 3.67 MB / 1.547 GB, free: 9.098 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001783/1.314, allocations: 1.014 MB / 1.548 GB, free: 8.047 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.002357/1.316, allocations: 462.2 kB / 1.548 GB, free: 7.594 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007901/1.317, allocations: 159.4 kB / 1.549 GB, free: 7.438 MB / 1.229 GB Notification: Performance of SimCode: time 1.383e-06/1.317, allocations: 0 / 1.549 GB, free: 7.438 MB / 1.229 GB Notification: Performance of Templates: time 0.09043/1.407, allocations: 47.35 MB / 1.595 GB, free: 9.078 MB / 1.276 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.360843624919653]