Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 112.1 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.701/2.701, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1498/1.233, allocations: 114.6 MB / 1.383 GB, free: 6.133 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04253/1.276, allocations: 20.35 MB / 1.403 GB, free: 5.535 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007691/1.283, allocations: 105 kB / 1.403 GB, free: 5.496 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005731/1.289, allocations: 1.314 MB / 1.405 GB, free: 4.391 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01633/1.305, allocations: 3.877 MB / 1.408 GB, free: 1.332 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01029/1.316, allocations: 3.164 MB / 1.412 GB, free: 14.92 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01758/1.333, allocations: 7.229 MB / 1.419 GB, free: 10.65 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005082/1.338, allocations: 1.994 MB / 1.421 GB, free: 9.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009401/1.348, allocations: 2.897 MB / 1.423 GB, free: 7.434 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005652/1.353, allocations: 2.231 MB / 1.426 GB, free: 6.062 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/1.354, allocations: 255.8 kB / 1.426 GB, free: 6.062 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005817/1.36, allocations: 1.67 MB / 1.427 GB, free: 5.18 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/1.362, allocations: 0.7236 MB / 1.428 GB, free: 4.453 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003658/1.365, allocations: 1.512 MB / 1.43 GB, free: 2.934 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01025/1.375, allocations: 4.402 MB / 1.434 GB, free: 14.52 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/1.375, allocations: 7.938 kB / 1.434 GB, free: 14.51 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.395e-06/1.375, allocations: 0 / 1.434 GB, free: 14.51 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001288/1.376, allocations: 0 / 1.434 GB, free: 14.51 MB / 1.123 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.007376/1.383, allocations: 3.32 MB / 1.437 GB, free: 11.12 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/1.383, allocations: 12.03 kB / 1.437 GB, free: 11.11 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003453/1.383, allocations: 223.7 kB / 1.437 GB, free: 10.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.384, allocations: 346.1 kB / 1.438 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005457/1.39, allocations: 2.219 MB / 1.44 GB, free: 8.246 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/1.39, allocations: 127 kB / 1.44 GB, free: 8.121 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/1.39, allocations: 176 kB / 1.44 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/1.394, allocations: 1.612 MB / 1.442 GB, free: 6.273 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/1.394, allocations: 3.953 kB / 1.442 GB, free: 6.27 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.394, allocations: 67.94 kB / 1.442 GB, free: 6.203 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/1.394, allocations: 39.94 kB / 1.442 GB, free: 6.164 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/1.396, allocations: 1.139 MB / 1.443 GB, free: 5.02 MB / 1.123 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.01315/1.409, allocations: 7.922 MB / 1.451 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/1.41, allocations: 445.9 kB / 1.451 GB, free: 12.15 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/1.411, allocations: 309.3 kB / 1.451 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007943/1.411, allocations: 0.7485 MB / 1.452 GB, free: 10.93 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/1.412, allocations: 43.12 kB / 1.452 GB, free: 10.88 MB / 1.139 GB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/1.412, allocations: 0 / 1.452 GB, free: 10.88 MB / 1.139 GB Notification: Performance of matching and sorting (n=60): time 0.002651/1.414, allocations: 1.001 MB / 1.453 GB, free: 9.871 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/1.414, allocations: 55.97 kB / 1.453 GB, free: 9.805 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/1.418, allocations: 2.339 MB / 1.456 GB, free: 7.453 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/1.418, allocations: 45.7 kB / 1.456 GB, free: 7.402 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.42, allocations: 1.175 MB / 1.457 GB, free: 6.219 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.00035/1.42, allocations: 230 kB / 1.457 GB, free: 5.992 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004494/1.421, allocations: 258.7 kB / 1.457 GB, free: 5.73 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002019/1.421, allocations: 349.9 kB / 1.458 GB, free: 5.383 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/1.422, allocations: 357.9 kB / 1.458 GB, free: 5.031 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/1.423, allocations: 0.7463 MB / 1.459 GB, free: 4.121 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/1.424, allocations: 0.9863 MB / 1.46 GB, free: 3.02 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.424, allocations: 3.938 kB / 1.46 GB, free: 3.016 MB / 1.139 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002958/1.427, allocations: 1.304 MB / 1.461 GB, free: 1.707 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/1.427, allocations: 10.34 kB / 1.461 GB, free: 1.699 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.427, allocations: 8 kB / 1.461 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/1.427, allocations: 16 kB / 1.461 GB, free: 1.676 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.428, allocations: 252.1 kB / 1.461 GB, free: 1.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/1.428, allocations: 27.92 kB / 1.461 GB, free: 1.402 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.43, allocations: 166.8 kB / 1.461 GB, free: 1.238 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.43, allocations: 51.98 kB / 1.461 GB, free: 1.188 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001604/1.432, allocations: 0.7641 MB / 1.462 GB, free: 428 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/1.433, allocations: 0.7351 MB / 1.463 GB, free: 15.52 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001556/1.435, allocations: 0.9484 MB / 1.464 GB, free: 14.45 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.443e-06/1.435, allocations: 8 kB / 1.464 GB, free: 14.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002808/1.438, allocations: 1.275 MB / 1.465 GB, free: 13.17 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.438, allocations: 8 kB / 1.465 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.438, allocations: 8.875 kB / 1.465 GB, free: 13.15 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/1.438, allocations: 16 kB / 1.465 GB, free: 13.14 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/1.439, allocations: 247.6 kB / 1.465 GB, free: 12.89 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/1.439, allocations: 19.94 kB / 1.465 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.44, allocations: 127.4 kB / 1.465 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.44, allocations: 44 kB / 1.465 GB, free: 12.71 MB / 1.154 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.0003937/1.441, allocations: 267.8 kB / 1.466 GB, free: 12.44 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/1.441, allocations: 246.4 kB / 1.466 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/1.443, allocations: 0.8748 MB / 1.467 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.443, allocations: 15.98 kB / 1.467 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.443, allocations: 0 / 1.467 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/1.444, allocations: 0.6853 MB / 1.467 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/1.449, allocations: 2.578 MB / 1.47 GB, free: 7.914 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.449, allocations: 4.094 kB / 1.47 GB, free: 7.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/1.45, allocations: 135.7 kB / 1.47 GB, free: 7.777 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.45, allocations: 0 / 1.47 GB, free: 7.777 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/1.45, allocations: 20 kB / 1.47 GB, free: 7.758 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/1.45, allocations: 8 kB / 1.47 GB, free: 7.75 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.45, allocations: 0 / 1.47 GB, free: 7.75 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/1.452, allocations: 1.33 MB / 1.471 GB, free: 6.391 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009248/1.453, allocations: 427.3 kB / 1.472 GB, free: 5.953 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.453, allocations: 12 kB / 1.472 GB, free: 5.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00095/1.454, allocations: 51.88 kB / 1.472 GB, free: 5.891 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.454, allocations: 44.44 kB / 1.472 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/1.454, allocations: 31.98 kB / 1.472 GB, free: 5.816 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002678/1.457, allocations: 1.569 MB / 1.474 GB, free: 4.242 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.1e-08/1.457, allocations: 0 / 1.474 GB, free: 4.242 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003299/1.46, allocations: 1.111 MB / 1.475 GB, free: 3.129 MB / 1.154 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.005061/1.465, allocations: 2.534 MB / 1.477 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00297/1.468, allocations: 1.292 MB / 1.478 GB, free: 15.42 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.468, allocations: 3.938 kB / 1.478 GB, free: 15.42 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005815/1.469, allocations: 299 kB / 1.479 GB, free: 15.12 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006793/1.476, allocations: 1.389 MB / 1.48 GB, free: 13.78 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/1.505, allocations: 15.01 MB / 1.495 GB, free: 14.31 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.507, allocations: 1.586 MB / 1.496 GB, free: 12.69 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002265/1.509, allocations: 0.4948 MB / 1.497 GB, free: 12.19 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/1.51, allocations: 0.9601 MB / 1.498 GB, free: 11.23 MB / 1.186 GB Notification: Performance of SimCode: time 9.52e-07/1.51, allocations: 0 / 1.498 GB, free: 11.23 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1428/1.653, allocations: 64.67 MB / 1.561 GB, free: 11.18 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.89, allocations: 22.39 kB / 1.561 GB, free: 11.16 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 20.9489408179943] Failed to read output from testmodel.py, exit status != 0: 15.061841192014981 15.08650566 13.705747797 Calling exit ...