Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001254/0.001254, allocations: 119 kB / 19.69 MB, free: 2.199 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.001425/0.001425, allocations: 221.2 kB / 23.01 MB, free: 5.047 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9701/0.9701, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002027/0.002027, allocations: 74.72 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1863, allocations: 89.17 MB / 0.7284 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6359/0.8221, allocations: 198.1 MB / 0.9219 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.8339, allocations: 6.985 MB / 0.9287 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.8355, allocations: 67.38 kB / 0.9287 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.8375, allocations: 0.7025 MB / 0.9294 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006568/0.8441, allocations: 2.482 MB / 0.9319 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003882/0.848, allocations: 1.497 MB / 0.9333 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.8533, allocations: 3.03 MB / 0.9363 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.8551, allocations: 0.7078 MB / 0.937 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004704/0.8598, allocations: 1.63 MB / 0.9386 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.8618, allocations: 0.8461 MB / 0.9394 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002563/0.862, allocations: 100 kB / 0.9395 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.8664, allocations: 2.163 MB / 0.9416 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.8669, allocations: 374.7 kB / 0.942 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008777/0.8678, allocations: 0.5869 MB / 0.9425 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004236/0.872, allocations: 2.41 MB / 0.9449 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.872, allocations: 0 / 0.9449 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.872, allocations: 4 kB / 0.9449 GB, free: 9.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.324e-05/0.872, allocations: 0 / 0.9449 GB, free: 9.496 MB / 0.7169 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.003555/0.8756, allocations: 1.592 MB / 0.9464 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.8756, allocations: 12.03 kB / 0.9464 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.8758, allocations: 110.5 kB / 0.9466 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.8787, allocations: 0.5416 MB / 0.9471 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.8814, allocations: 0.9664 MB / 0.948 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.8814, allocations: 49.31 kB / 0.9481 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.8816, allocations: 71.98 kB / 0.9481 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.884, allocations: 1.112 MB / 0.9492 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.8841, allocations: 0 / 0.9492 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.8842, allocations: 24 kB / 0.9493 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.76e-05/0.8842, allocations: 33.31 kB / 0.9493 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002975/0.8872, allocations: 1.164 MB / 0.9504 GB, free: 3.711 MB / 0.7169 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.006161/0.8933, allocations: 3.129 MB / 0.9535 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.8951, allocations: 0.6566 MB / 0.9541 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.8959, allocations: 386.9 kB / 0.9545 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/0.8964, allocations: 132.3 kB / 0.9546 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.8975, allocations: 0.51 MB / 0.9551 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/0.8975, allocations: 0 / 0.9551 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.003244/0.9007, allocations: 1.237 MB / 0.9563 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.9008, allocations: 136.9 kB / 0.9564 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.9029, allocations: 1.184 MB / 0.9576 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.903, allocations: 37.7 kB / 0.9576 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.9035, allocations: 441.8 kB / 0.9581 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.9037, allocations: 194.3 kB / 0.9582 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.904, allocations: 138.2 kB / 0.9584 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9041, allocations: 330 kB / 0.9587 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.9053, allocations: 441 kB / 0.9591 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.9067, allocations: 0.598 MB / 0.9597 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/0.9087, allocations: 0.9331 MB / 0.9606 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.9087, allocations: 0 / 0.9606 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003143/0.9118, allocations: 1.201 MB / 0.9618 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.9119, allocations: 37.69 kB / 0.9618 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9119, allocations: 7.938 kB / 0.9618 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.9119, allocations: 7.938 kB / 0.9618 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.9128, allocations: 187.8 kB / 0.962 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.9129, allocations: 13.19 kB / 0.962 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.9143, allocations: 246.5 kB / 0.9623 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/0.9144, allocations: 35.98 kB / 0.9623 GB, free: 7.246 MB / 0.7325 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.0005505/0.915, allocations: 335.2 kB / 0.9626 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.9152, allocations: 123.2 kB / 0.9627 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.9174, allocations: 1.003 MB / 0.9637 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.9174, allocations: 8 kB / 0.9637 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9174, allocations: 0 / 0.9637 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.9174, allocations: 3.984 kB / 0.9637 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00533/0.9227, allocations: 3.134 MB / 0.9668 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.9228, allocations: 12.03 kB / 0.9668 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.9234, allocations: 116.6 kB / 0.9669 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.9234, allocations: 12 kB / 0.9669 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.9234, allocations: 28.5 kB / 0.9669 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/0.9235, allocations: 15.92 kB / 0.967 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/0.9235, allocations: 15.94 kB / 0.967 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.9258, allocations: 1.351 MB / 0.9683 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006437/0.9265, allocations: 266.9 kB / 0.9685 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.9266, allocations: 20.69 kB / 0.9686 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.9277, allocations: 107.8 kB / 0.9687 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.9278, allocations: 71.67 kB / 0.9687 GB, free: 368 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.9279, allocations: 39.97 kB / 0.9688 GB, free: 328 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001544/0.9295, allocations: 0.8482 MB / 0.9696 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9295, allocations: 0 / 0.9696 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001163/0.9306, allocations: 299.7 kB / 0.9699 GB, free: 15.17 MB / 0.7481 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.003134/0.9338, allocations: 2.128 MB / 0.972 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.9361, allocations: 0.9665 MB / 0.9729 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.9361, allocations: 4 kB / 0.9729 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.937, allocations: 496 kB / 0.9734 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/0.9397, allocations: 0.5458 MB / 0.9739 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.9569, allocations: 9.419 MB / 0.9831 GB, free: 1.117 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/0.9577, allocations: 1.077 MB / 0.9842 GB, free: 8 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001127/0.9589, allocations: 271.3 kB / 0.9844 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005706/0.9594, allocations: 359.3 kB / 0.9848 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of SimCode: time 1.133e-06/0.9594, allocations: 0 / 0.9848 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07572/1.035, allocations: 32.4 MB / 1.016 GB, free: 15.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.42, allocations: 13.91 kB / 1.016 GB, free: 15.31 MB / 0.795 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.280280178001703] Failed to read output from testmodel.py, exit status != 0: 14.543225438999798 14.563886781 13.68775309 Calling exit ...