Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001543/0.001543, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001851/0.001851, allocations: 214 kB / 22.24 MB, free: 5.262 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00262/0.00262, allocations: 275 kB / 312.7 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.267/1.267, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002863/0.002863, allocations: 99.47 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1913, allocations: 95.39 MB / 0.8326 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6784/0.8698, allocations: 171.9 MB / 1 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.8805, allocations: 6.572 MB / 1.007 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.8825, allocations: 64.06 kB / 1.007 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002214/0.8847, allocations: 0.6865 MB / 1.008 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007504/0.8922, allocations: 2.426 MB / 1.01 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.8961, allocations: 1.451 MB / 1.011 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004488/0.9006, allocations: 3.027 MB / 1.014 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.9017, allocations: 0.698 MB / 1.015 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.9045, allocations: 1.193 MB / 1.016 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.9058, allocations: 0.8139 MB / 1.017 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.9059, allocations: 99.34 kB / 1.017 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.9095, allocations: 1.691 MB / 1.019 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.9099, allocations: 377.8 kB / 1.019 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005746/0.9105, allocations: 478.2 kB / 1.02 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.914, allocations: 2.341 MB / 1.022 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.914, allocations: 1.062 kB / 1.022 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.914, allocations: 3 kB / 1.022 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.914, allocations: 0 / 1.022 GB, free: 3.133 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.003226/0.9173, allocations: 1.591 MB / 1.023 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9173, allocations: 10.44 kB / 1.023 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.9174, allocations: 115.7 kB / 1.024 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.9201, allocations: 0.5386 MB / 1.024 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.9221, allocations: 0.9771 MB / 1.025 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.9222, allocations: 50.78 kB / 1.025 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.9223, allocations: 71.75 kB / 1.025 GB, free: 17.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.9245, allocations: 1.236 MB / 1.026 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.9245, allocations: 0 / 1.026 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.9246, allocations: 30.77 kB / 1.026 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.9246, allocations: 31.47 kB / 1.026 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.9273, allocations: 1.195 MB / 1.028 GB, free: 17.61 MB / 0.7325 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.004945/0.9322, allocations: 2.883 MB / 1.03 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.9337, allocations: 0.6846 MB / 1.031 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.9344, allocations: 426.8 kB / 1.031 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/0.9348, allocations: 128 kB / 1.032 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009438/0.9358, allocations: 0.6451 MB / 1.032 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.275e-06/0.9358, allocations: 1 kB / 1.032 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.00274/0.9385, allocations: 1.293 MB / 1.033 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.9386, allocations: 137.9 kB / 1.034 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.9402, allocations: 1.186 MB / 1.035 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/0.9403, allocations: 37.48 kB / 1.035 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.9406, allocations: 443.9 kB / 1.035 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9408, allocations: 200.8 kB / 1.035 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.941, allocations: 144.3 kB / 1.036 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.9412, allocations: 329.9 kB / 1.036 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.9423, allocations: 476 kB / 1.036 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.9437, allocations: 0.981 MB / 1.037 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.9456, allocations: 0.9295 MB / 1.038 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.9456, allocations: 2.578 kB / 1.038 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002815/0.9484, allocations: 1.243 MB / 1.039 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.9484, allocations: 40.16 kB / 1.039 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9484, allocations: 2.656 kB / 1.039 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.9485, allocations: 10.59 kB / 1.039 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.9493, allocations: 188.1 kB / 1.04 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.9493, allocations: 16.88 kB / 1.04 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.9506, allocations: 240.1 kB / 1.04 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.9507, allocations: 37.61 kB / 1.04 GB, free: 14.11 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.0004538/0.9512, allocations: 331.7 kB / 1.04 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.9513, allocations: 126.1 kB / 1.04 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.9532, allocations: 1.025 MB / 1.041 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.9532, allocations: 11.42 kB / 1.041 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9532, allocations: 0 / 1.041 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.9532, allocations: 12.95 kB / 1.041 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004526/0.9577, allocations: 3.006 MB / 1.044 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.9578, allocations: 10 kB / 1.044 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.9583, allocations: 119.7 kB / 1.044 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.9583, allocations: 9.094 kB / 1.044 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.9584, allocations: 31.14 kB / 1.044 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.9584, allocations: 15.06 kB / 1.044 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.9584, allocations: 14.56 kB / 1.045 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.9603, allocations: 1.379 MB / 1.046 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005571/0.9608, allocations: 268.8 kB / 1.046 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.961, allocations: 22 kB / 1.046 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.962, allocations: 103.2 kB / 1.046 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.9621, allocations: 60.88 kB / 1.046 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.9621, allocations: 37.94 kB / 1.046 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001326/0.9635, allocations: 0.8561 MB / 1.047 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9635, allocations: 0 / 1.047 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000978/0.9645, allocations: 297.4 kB / 1.047 GB, free: 11.78 MB / 0.7325 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.002847/0.9673, allocations: 2.152 MB / 1.05 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00218/0.9695, allocations: 1.041 MB / 1.051 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.9695, allocations: 0 / 1.051 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.9704, allocations: 0.5102 MB / 1.051 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/0.9728, allocations: 0.5473 MB / 1.052 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/0.9887, allocations: 9.592 MB / 1.061 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.9893, allocations: 483 kB / 1.061 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001362/0.9907, allocations: 271.7 kB / 1.062 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/0.9913, allocations: 365.2 kB / 1.062 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of SimCode: time 1.884e-06/0.9913, allocations: 0 / 1.062 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07792/1.069, allocations: 34.56 MB / 1.096 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/13.17, allocations: 10.36 kB / 1.096 GB, free: 8.23 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.582890946418047] Failed to read output from testmodel.py, exit status != 0: 13.293172917328775 13.314549484 12.397045585 Calling exit ...