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.0008784/0.0008784, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0009416/0.0009416, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9514/0.9514, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.5576/0.5576, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 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: Performance of FrontEnd - loaded program: time 4.067e-06/4.067e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.861e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.47/0.47, allocations: 171.6 MB / 0.7218 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008363/0.4784, allocations: 6.52 MB / 0.7282 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.4807, allocations: 61.97 kB / 0.7282 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.4828, allocations: 0.6959 MB / 0.7289 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005779/0.4886, allocations: 2.448 MB / 0.7313 GB, free: 39.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.4915, allocations: 1.501 MB / 0.7328 GB, free: 39.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004395/0.4959, allocations: 2.908 MB / 0.7356 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.4974, allocations: 0.6601 MB / 0.7362 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004629/0.5021, allocations: 1.92 MB / 0.7381 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.5037, allocations: 0.7097 MB / 0.7388 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.504, allocations: 102.1 kB / 0.7389 GB, free: 38.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.5077, allocations: 1.684 MB / 0.7406 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006328/0.5083, allocations: 390.2 kB / 0.7409 GB, free: 37.51 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009737/0.5093, allocations: 399.7 kB / 0.7413 GB, free: 37.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.515, allocations: 2.432 MB / 0.7437 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.515, allocations: 0 / 0.7437 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.494e-06/0.515, allocations: 0.6094 kB / 0.7437 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.864e-05/0.515, allocations: 1.25 kB / 0.7437 GB, free: 36.68 MB / 0.6355 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.00353/0.5185, allocations: 1.557 MB / 0.7452 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5186, allocations: 9.578 kB / 0.7452 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.5187, allocations: 113.8 kB / 0.7453 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.5205, allocations: 0.5391 MB / 0.7458 GB, free: 35.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.5223, allocations: 0.9328 MB / 0.7468 GB, free: 35.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.5224, allocations: 55.62 kB / 0.7468 GB, free: 35.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.5225, allocations: 71.14 kB / 0.7469 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.5243, allocations: 1.236 MB / 0.7481 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5243, allocations: 8.969 kB / 0.7481 GB, free: 34.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/0.5244, allocations: 27.73 kB / 0.7481 GB, free: 34.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.5244, allocations: 30.08 kB / 0.7482 GB, free: 34.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.5263, allocations: 1.194 MB / 0.7493 GB, free: 33.98 MB / 0.6355 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.00406/0.5304, allocations: 2.866 MB / 0.7521 GB, free: 32.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.5315, allocations: 0.6763 MB / 0.7528 GB, free: 32.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.532, allocations: 425.1 kB / 0.7532 GB, free: 31.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.5323, allocations: 129 kB / 0.7533 GB, free: 31.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000695/0.533, allocations: 0.6482 MB / 0.7539 GB, free: 31.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=57): time 2.385e-06/0.533, allocations: 0 / 0.7539 GB, free: 31.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57): time 0.002149/0.5352, allocations: 1.297 MB / 0.7552 GB, free: 31.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.5352, allocations: 143.5 kB / 0.7553 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.5367, allocations: 1.167 MB / 0.7565 GB, free: 30.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.5368, allocations: 43.58 kB / 0.7565 GB, free: 30.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.5371, allocations: 430.5 kB / 0.7569 GB, free: 30.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.5372, allocations: 199.6 kB / 0.7571 GB, free: 29.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.5374, allocations: 143.3 kB / 0.7573 GB, free: 29.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.5375, allocations: 326.6 kB / 0.7576 GB, free: 29.49 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/0.5383, allocations: 474.4 kB / 0.758 GB, free: 29.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.5392, allocations: 0.9775 MB / 0.759 GB, free: 28.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.5403, allocations: 0.9326 MB / 0.7599 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.5404, allocations: 1.031 kB / 0.7599 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00211/0.5425, allocations: 1.242 MB / 0.7611 GB, free: 27.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.5425, allocations: 40.69 kB / 0.7611 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5425, allocations: 4.406 kB / 0.7611 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.5425, allocations: 5.031 kB / 0.7611 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.543, allocations: 186.9 kB / 0.7613 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.543, allocations: 12 kB / 0.7613 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009622/0.544, allocations: 245.3 kB / 0.7616 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.5441, allocations: 38.11 kB / 0.7616 GB, free: 27.55 MB / 0.6355 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.0004575/0.5445, allocations: 333.9 kB / 0.7619 GB, free: 27.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.5447, allocations: 119.4 kB / 0.762 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.5461, allocations: 1.027 MB / 0.763 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.5461, allocations: 6.969 kB / 0.7631 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5461, allocations: 1.156 kB / 0.7631 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5461, allocations: 8.219 kB / 0.7631 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.5493, allocations: 3.013 MB / 0.766 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5493, allocations: 7.969 kB / 0.766 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.5496, allocations: 117.6 kB / 0.7661 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.5496, allocations: 9.969 kB / 0.7661 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/0.5496, allocations: 29.22 kB / 0.7662 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.5497, allocations: 13.22 kB / 0.7662 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/0.5497, allocations: 14.05 kB / 0.7662 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.5511, allocations: 1.375 MB / 0.7675 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.5516, allocations: 257.7 kB / 0.7678 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.5517, allocations: 24.38 kB / 0.7678 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.5523, allocations: 99.25 kB / 0.7679 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.5524, allocations: 68.88 kB / 0.768 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.5524, allocations: 43.5 kB / 0.768 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008975/0.5533, allocations: 0.8309 MB / 0.7688 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5533, allocations: 0 / 0.7688 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001018/0.5543, allocations: 303.5 kB / 0.7691 GB, free: 23.69 MB / 0.6355 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.001832/0.5562, allocations: 2.143 MB / 0.7712 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.5576, allocations: 1.039 MB / 0.7722 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5576, allocations: 3.938 kB / 0.7722 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.5581, allocations: 0.513 MB / 0.7727 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.5597, allocations: 0.5188 MB / 0.7732 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.5719, allocations: 9.523 MB / 0.7825 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5722, allocations: 485.4 kB / 0.783 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008314/0.5731, allocations: 267.2 kB / 0.7832 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.5734, allocations: 350.2 kB / 0.7836 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of SimCode: time 2.244e-06/0.5734, allocations: 2.719 kB / 0.7836 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.6218, allocations: 33.61 MB / 0.8164 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.7, allocations: 8.062 kB / 0.8164 GB, free: 14.97 MB / 0.6511 GB " [Timeout remaining time 651] (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: 11.39173683617264] Failed to read output from testmodel.py, exit status != 0: 8.798507907427847 8.80652058 8.289607458 Calling exit ...