Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001751/0.001751, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002075/0.002075, allocations: 218.7 kB / 23.03 MB, free: 4.949 MB / 14.72 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.8 MB / 0.7715 GB, free: 3.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 66.22 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 170 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2263/0.5899, allocations: 171.8 MB / 1.452 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.6035, allocations: 6.546 MB / 1.458 GB, free: 7.648 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.6059, allocations: 63.44 kB / 1.458 GB, free: 7.586 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.6088, allocations: 0.6986 MB / 1.459 GB, free: 6.883 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008656/0.6174, allocations: 2.416 MB / 1.461 GB, free: 4.457 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004683/0.6221, allocations: 1.478 MB / 1.463 GB, free: 2.996 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005974/0.6281, allocations: 3.04 MB / 1.466 GB, free: 15.94 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.6303, allocations: 0.7127 MB / 1.466 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004867/0.6352, allocations: 1.185 MB / 1.468 GB, free: 14.03 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.638, allocations: 0.8519 MB / 1.468 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006203/0.6387, allocations: 100 kB / 1.469 GB, free: 13.09 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005464/0.6441, allocations: 1.726 MB / 1.47 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.6451, allocations: 378.6 kB / 1.471 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.6466, allocations: 477.8 kB / 1.471 GB, free: 10.52 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006311/0.6529, allocations: 2.348 MB / 1.473 GB, free: 8.16 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.6529, allocations: 0 / 1.473 GB, free: 8.16 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.536e-06/0.6529, allocations: 0 / 1.473 GB, free: 8.16 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.932e-05/0.653, allocations: 0 / 1.473 GB, free: 8.16 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005849/0.6588, allocations: 1.594 MB / 1.475 GB, free: 6.523 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.6589, allocations: 8.031 kB / 1.475 GB, free: 6.516 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.251e-05/0.6589, allocations: 25.25 kB / 1.475 GB, free: 6.492 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003015/0.6592, allocations: 110.5 kB / 1.475 GB, free: 6.375 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.6627, allocations: 0.5455 MB / 1.476 GB, free: 5.828 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.6659, allocations: 0.9625 MB / 1.476 GB, free: 4.836 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.666, allocations: 61.16 kB / 1.477 GB, free: 4.781 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.6663, allocations: 68 kB / 1.477 GB, free: 4.715 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.6694, allocations: 1.242 MB / 1.478 GB, free: 3.418 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.6695, allocations: 0 / 1.478 GB, free: 3.418 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.6696, allocations: 28 kB / 1.478 GB, free: 3.391 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.6697, allocations: 33.3 kB / 1.478 GB, free: 3.355 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.6731, allocations: 1.193 MB / 1.479 GB, free: 2.152 MB / 1.17 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.007464/0.6806, allocations: 2.887 MB / 1.482 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.6826, allocations: 0.6805 MB / 1.483 GB, free: 14.5 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.6835, allocations: 419.8 kB / 1.483 GB, free: 14.08 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.6841, allocations: 132.3 kB / 1.483 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/0.6855, allocations: 0.6472 MB / 1.484 GB, free: 13.24 MB / 1.186 GB Notification: Performance of pre-optimization done (n=57): time 4.108e-06/0.6855, allocations: 4 kB / 1.484 GB, free: 13.24 MB / 1.186 GB Notification: Performance of matching and sorting (n=57): time 0.003814/0.6893, allocations: 1.291 MB / 1.485 GB, free: 11.93 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.6894, allocations: 140.8 kB / 1.485 GB, free: 11.76 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.6918, allocations: 1.176 MB / 1.486 GB, free: 10.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.6919, allocations: 37.7 kB / 1.486 GB, free: 10.52 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.6924, allocations: 441.8 kB / 1.487 GB, free: 10.09 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.6927, allocations: 202.3 kB / 1.487 GB, free: 9.887 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.6931, allocations: 138.2 kB / 1.487 GB, free: 9.746 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6932, allocations: 330 kB / 1.487 GB, free: 9.418 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.6946, allocations: 474.7 kB / 1.488 GB, free: 8.949 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.6964, allocations: 0.9862 MB / 1.489 GB, free: 7.816 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002264/0.6987, allocations: 0.9254 MB / 1.49 GB, free: 6.84 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6987, allocations: 0 / 1.49 GB, free: 6.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003622/0.7023, allocations: 1.249 MB / 1.491 GB, free: 5.566 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.7024, allocations: 37.7 kB / 1.491 GB, free: 5.523 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.7024, allocations: 4 kB / 1.491 GB, free: 5.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.7024, allocations: 11.98 kB / 1.491 GB, free: 5.508 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.7035, allocations: 195.9 kB / 1.491 GB, free: 5.316 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.7035, allocations: 4 kB / 1.491 GB, free: 5.312 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.7052, allocations: 236.5 kB / 1.491 GB, free: 5.082 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.7054, allocations: 39.97 kB / 1.491 GB, free: 5.043 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0007025/0.7061, allocations: 332.6 kB / 1.492 GB, free: 4.703 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.7064, allocations: 131.1 kB / 1.492 GB, free: 4.574 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.7091, allocations: 1.039 MB / 1.493 GB, free: 3.527 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.7091, allocations: 7.938 kB / 1.493 GB, free: 3.52 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.7091, allocations: 4 kB / 1.493 GB, free: 3.516 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.7092, allocations: 3.984 kB / 1.493 GB, free: 3.512 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006472/0.7156, allocations: 2.999 MB / 1.496 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/0.7157, allocations: 8.594 kB / 1.496 GB, free: 360 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/0.7164, allocations: 123.8 kB / 1.496 GB, free: 236 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.089e-05/0.7164, allocations: 8 kB / 1.496 GB, free: 228 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7165, allocations: 27.98 kB / 1.496 GB, free: 200 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.364e-05/0.7165, allocations: 11.94 kB / 1.496 GB, free: 188 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.7165, allocations: 8 kB / 1.496 GB, free: 180 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.7194, allocations: 1.399 MB / 1.497 GB, free: 14.65 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009414/0.7204, allocations: 266.8 kB / 1.498 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/0.7207, allocations: 16 kB / 1.498 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.7222, allocations: 103.9 kB / 1.498 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.7224, allocations: 63.69 kB / 1.498 GB, free: 14.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.7225, allocations: 43.97 kB / 1.498 GB, free: 14.17 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002034/0.7246, allocations: 0.8482 MB / 1.499 GB, free: 13.31 MB / 1.201 GB Notification: Performance of sort global known variables: time 2e-07/0.7246, allocations: 0 / 1.499 GB, free: 13.31 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00185/0.7264, allocations: 299.6 kB / 1.499 GB, free: 13.02 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.00464/0.7311, allocations: 2.151 MB / 1.501 GB, free: 10.74 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003073/0.7341, allocations: 1.036 MB / 1.502 GB, free: 9.684 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/0.7342, allocations: 0 / 1.502 GB, free: 9.684 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.7354, allocations: 0.5086 MB / 1.503 GB, free: 9.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/0.739, allocations: 0.5536 MB / 1.503 GB, free: 8.613 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.761, allocations: 9.596 MB / 1.512 GB, free: 14.58 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007742/0.7618, allocations: 478.6 kB / 1.513 GB, free: 14.08 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00139/0.7632, allocations: 272.9 kB / 1.513 GB, free: 13.82 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000771/0.764, allocations: 359.3 kB / 1.513 GB, free: 13.46 MB / 1.217 GB Notification: Performance of SimCode: time 1.243e-06/0.764, allocations: 0 / 1.513 GB, free: 13.46 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07879/0.8428, allocations: 34.16 MB / 1.547 GB, free: 11.97 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.37, allocations: 8.047 kB / 1.547 GB, free: 11.96 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.41969703801442] Failed to read output from testmodel.py, exit status != 0: 16.201659744023345 15.59073065 14.931235182 Calling exit ...