Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 114.7 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.00123/0.00123, 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.471/1.471, allocations: 225.6 MB / 249.4 MB, free: 3.141 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 3.103/3.103, allocations: 476.7 MB / 0.7629 GB, free: 15.07 MB / 0.6075 GB " [Timeout remaining time 176] 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.TwoWayValves,fileNamePrefix="Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="Buildings_11_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 1.107 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9816/0.9836, allocations: 168.7 MB / 1.272 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03513/1.019, allocations: 30.32 MB / 1.301 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01423/1.033, allocations: 8.179 MB / 1.309 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/1.035, allocations: 28.34 kB / 1.309 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/1.037, allocations: 445.5 kB / 1.31 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005622/1.042, allocations: 1.443 MB / 1.311 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/1.047, allocations: 1.147 MB / 1.312 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006381/1.053, allocations: 3.555 MB / 1.316 GB, free: 9.223 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/1.056, allocations: 1.183 MB / 1.317 GB, free: 8.836 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004198/1.06, allocations: 1.706 MB / 1.318 GB, free: 8.246 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004322/1.064, allocations: 1.728 MB / 1.32 GB, free: 7.703 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000925/1.065, allocations: 125.6 kB / 1.32 GB, free: 7.703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/1.069, allocations: 1.018 MB / 1.321 GB, free: 7.414 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007552/1.069, allocations: 418.2 kB / 1.322 GB, free: 7.199 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/1.071, allocations: 0.746 MB / 1.322 GB, free: 6.809 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005156/1.076, allocations: 2.211 MB / 1.324 GB, free: 6.074 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/1.076, allocations: 0 / 1.324 GB, free: 6.074 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/1.076, allocations: 4.547 kB / 1.324 GB, free: 6.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.606e-05/1.076, allocations: 1.156 kB / 1.324 GB, free: 6.07 MB / 1.029 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.004267/1.081, allocations: 1.711 MB / 1.326 GB, free: 4.977 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.081, allocations: 10.31 kB / 1.326 GB, free: 4.977 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/1.081, allocations: 100.9 kB / 1.326 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/1.081, allocations: 160.6 kB / 1.326 GB, free: 4.828 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/1.083, allocations: 0.924 MB / 1.327 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/1.084, allocations: 79.81 kB / 1.327 GB, free: 4.277 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/1.084, allocations: 116.8 kB / 1.327 GB, free: 4.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.085, allocations: 0.638 MB / 1.328 GB, free: 3.957 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/1.085, allocations: 1.406 kB / 1.328 GB, free: 3.957 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.512e-05/1.085, allocations: 25.7 kB / 1.328 GB, free: 3.938 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/1.085, allocations: 14.47 kB / 1.328 GB, free: 3.938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009759/1.086, allocations: 463.7 kB / 1.329 GB, free: 3.789 MB / 1.029 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.005557/1.092, allocations: 2.886 MB / 1.331 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/1.092, allocations: 290.9 kB / 1.332 GB, free: 1.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/1.093, allocations: 137.9 kB / 1.332 GB, free: 1.789 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/1.093, allocations: 349.4 kB / 1.332 GB, free: 1.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.093, allocations: 36.22 kB / 1.332 GB, free: 1.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/1.093, allocations: 0 / 1.332 GB, free: 1.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.001643/1.095, allocations: 0.533 MB / 1.333 GB, free: 1.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/1.095, allocations: 55.44 kB / 1.333 GB, free: 1.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/1.096, allocations: 0.9068 MB / 1.334 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/1.096, allocations: 62.02 kB / 1.334 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/1.097, allocations: 486.8 kB / 1.334 GB, free: 304 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/1.097, allocations: 121.6 kB / 1.334 GB, free: 204 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/1.097, allocations: 294.5 kB / 1.335 GB, free: 108 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.098, allocations: 330.8 kB / 1.335 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/1.098, allocations: 193.6 kB / 1.335 GB, free: 15.72 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/1.1, allocations: 1.152 MB / 1.336 GB, free: 14.62 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/1.101, allocations: 457.5 kB / 1.337 GB, free: 14.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.101, allocations: 0 / 1.337 GB, free: 14.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001582/1.102, allocations: 0.6575 MB / 1.337 GB, free: 14.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.102, allocations: 7 kB / 1.337 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.102, allocations: 1.406 kB / 1.337 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.102, allocations: 5.594 kB / 1.337 GB, free: 14.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.104, allocations: 243.5 kB / 1.338 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/1.106, allocations: 2.953 MB / 1.34 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/1.109, allocations: 0.6992 MB / 1.341 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.11, allocations: 33.61 kB / 1.341 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00103/1.111, allocations: 367.1 kB / 1.341 GB, free: 10.82 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001723/1.112, allocations: 1.156 MB / 1.343 GB, free: 9.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008991/1.113, allocations: 460.1 kB / 1.343 GB, free: 9.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.078e-06/1.113, allocations: 1.953 kB / 1.343 GB, free: 9.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001885/1.115, allocations: 0.664 MB / 1.344 GB, free: 9.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.115, allocations: 6.094 kB / 1.344 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.115, allocations: 3.938 kB / 1.344 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/1.115, allocations: 5.5 kB / 1.344 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/1.116, allocations: 160.8 kB / 1.344 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.116, allocations: 7.094 kB / 1.344 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/1.121, allocations: 0.9586 MB / 1.345 GB, free: 9.074 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.121, allocations: 25.44 kB / 1.345 GB, free: 9.07 MB / 1.045 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.0004742/1.121, allocations: 246.2 kB / 1.345 GB, free: 8.848 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/1.122, allocations: 104.1 kB / 1.345 GB, free: 8.789 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.123, allocations: 0.5123 MB / 1.346 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.123, allocations: 5.062 kB / 1.346 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.123, allocations: 0.75 kB / 1.346 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/1.123, allocations: 1.734 kB / 1.346 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/1.126, allocations: 1.258 MB / 1.347 GB, free: 7.703 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.126, allocations: 1.188 kB / 1.347 GB, free: 7.703 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/1.126, allocations: 107.9 kB / 1.347 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/1.126, allocations: 3.469 kB / 1.347 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/1.126, allocations: 12.61 kB / 1.347 GB, free: 7.672 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/1.128, allocations: 2.95 MB / 1.35 GB, free: 4.672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/1.128, allocations: 5.125 kB / 1.35 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/1.129, allocations: 0.5715 MB / 1.35 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/1.13, allocations: 214.4 kB / 1.351 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/1.13, allocations: 15.14 kB / 1.351 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/1.13, allocations: 25.69 kB / 1.351 GB, free: 4.074 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/1.13, allocations: 36.91 kB / 1.351 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/1.13, allocations: 14.42 kB / 1.351 GB, free: 4.047 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009177/1.131, allocations: 0.6102 MB / 1.351 GB, free: 3.695 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.131, allocations: 0 / 1.351 GB, free: 3.695 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002408/1.134, allocations: 0.5452 MB / 1.352 GB, free: 3.574 MB / 1.045 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.002294/1.136, allocations: 1.348 MB / 1.353 GB, free: 2.555 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003062/1.139, allocations: 0.8082 MB / 1.354 GB, free: 2.223 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.139, allocations: 1 kB / 1.354 GB, free: 2.223 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/1.14, allocations: 213.8 kB / 1.354 GB, free: 2.141 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/1.142, allocations: 416 kB / 1.355 GB, free: 1.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.153, allocations: 6.569 MB / 1.361 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/1.154, allocations: 1.02 MB / 1.362 GB, free: 13.08 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001106/1.155, allocations: 217.5 kB / 1.362 GB, free: 12.97 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005069/1.155, allocations: 365 kB / 1.363 GB, free: 12.67 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/1.155, allocations: 0 / 1.363 GB, free: 12.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08484/1.24, allocations: 33.73 MB / 1.395 GB, free: 4.895 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.59, allocations: 6.234 kB / 1.395 GB, free: 4.895 MB / 1.076 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves_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_TwoWayValves.fmu > Buildings_11_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 21.995947027986404] Failed to read output from testmodel.py, exit status != 0: 15.703816282999469 15.720269451 14.640497117 Calling exit ...