Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001322/0.001322, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001541/0.001541, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8696/0.8696, allocations: 134 MB / 446.4 MB, free: 9.941 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002043/0.002043, allocations: 68.2 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1797, allocations: 85.91 MB / 0.7024 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6497/0.8294, allocations: 171.9 MB / 0.8702 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.8423, allocations: 6.542 MB / 0.8766 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.8447, allocations: 67.38 kB / 0.8767 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.8471, allocations: 0.687 MB / 0.8774 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008772/0.8559, allocations: 2.417 MB / 0.8797 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.8605, allocations: 1.457 MB / 0.8811 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005549/0.866, allocations: 3.017 MB / 0.8841 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.8679, allocations: 0.7047 MB / 0.8848 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.8718, allocations: 1.185 MB / 0.8859 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.8739, allocations: 0.8191 MB / 0.8867 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004486/0.8743, allocations: 100 kB / 0.8868 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/0.8783, allocations: 1.683 MB / 0.8885 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006413/0.8789, allocations: 386.6 kB / 0.8888 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.8801, allocations: 477.8 kB / 0.8893 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006585/0.8867, allocations: 2.37 MB / 0.8916 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/0.8867, allocations: 3.984 kB / 0.8916 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8867, allocations: 3.938 kB / 0.8916 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.627e-05/0.8868, allocations: 0 / 0.8916 GB, free: 2.074 MB / 0.6544 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.006035/0.8928, allocations: 1.602 MB / 0.8932 GB, free: 436 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8929, allocations: 12.03 kB / 0.8932 GB, free: 424 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/0.8931, allocations: 110.5 kB / 0.8933 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.898, allocations: 0.5378 MB / 0.8938 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/0.9022, allocations: 0.9664 MB / 0.8948 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.9024, allocations: 57.31 kB / 0.8948 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.9027, allocations: 71.98 kB / 0.8949 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.907, allocations: 1.238 MB / 0.8961 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.9071, allocations: 0 / 0.8961 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.9072, allocations: 28 kB / 0.8961 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.9073, allocations: 29.31 kB / 0.8962 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005055/0.9123, allocations: 1.193 MB / 0.8973 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00784/0.9202, allocations: 2.884 MB / 0.9001 GB, free: 9.129 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.922, allocations: 0.6818 MB / 0.9008 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008761/0.9229, allocations: 422.8 kB / 0.9012 GB, free: 8.016 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005552/0.9234, allocations: 136.3 kB / 0.9013 GB, free: 7.883 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.9247, allocations: 0.6394 MB / 0.902 GB, free: 7.184 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.736e-06/0.9247, allocations: 0 / 0.902 GB, free: 7.184 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.003293/0.928, allocations: 1.295 MB / 0.9032 GB, free: 5.863 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.9281, allocations: 148.9 kB / 0.9034 GB, free: 5.688 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.9304, allocations: 1.18 MB / 0.9045 GB, free: 4.492 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.9305, allocations: 41.7 kB / 0.9046 GB, free: 4.445 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004485/0.9309, allocations: 433.9 kB / 0.905 GB, free: 4.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.9312, allocations: 202.2 kB / 0.9052 GB, free: 3.82 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.9315, allocations: 146.2 kB / 0.9053 GB, free: 3.672 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.9316, allocations: 334 kB / 0.9056 GB, free: 3.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.933, allocations: 471.3 kB / 0.9061 GB, free: 2.875 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.9347, allocations: 0.9784 MB / 0.907 GB, free: 1.758 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.9369, allocations: 0.9371 MB / 0.9079 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.9369, allocations: 4 kB / 0.9079 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003395/0.9403, allocations: 1.234 MB / 0.9091 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.9403, allocations: 47.81 kB / 0.9092 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.9404, allocations: 12.22 kB / 0.9092 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.9404, allocations: 15.88 kB / 0.9092 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/0.9413, allocations: 183.8 kB / 0.9094 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.9413, allocations: 7.938 kB / 0.9094 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.9429, allocations: 240.8 kB / 0.9096 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.943, allocations: 43.97 kB / 0.9097 GB, free: 14.96 MB / 0.6856 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.0006332/0.9436, allocations: 326 kB / 0.91 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.944, allocations: 123.2 kB / 0.9101 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.9465, allocations: 1.028 MB / 0.9111 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.9465, allocations: 15.94 kB / 0.9111 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9465, allocations: 4 kB / 0.9111 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.9465, allocations: 3.984 kB / 0.9111 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00561/0.9522, allocations: 3.001 MB / 0.9141 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.9522, allocations: 8 kB / 0.9141 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/0.9528, allocations: 119.8 kB / 0.9142 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.9528, allocations: 8 kB / 0.9142 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.9529, allocations: 23.98 kB / 0.9142 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/0.9529, allocations: 19.95 kB / 0.9142 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.9529, allocations: 8 kB / 0.9142 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.9555, allocations: 1.387 MB / 0.9156 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/0.9563, allocations: 254.9 kB / 0.9158 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.9566, allocations: 27.98 kB / 0.9159 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.9579, allocations: 99.91 kB / 0.916 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.958, allocations: 67.61 kB / 0.916 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-05/0.9581, allocations: 43.97 kB / 0.9161 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001728/0.9598, allocations: 0.8482 MB / 0.9169 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9598, allocations: 0 / 0.9169 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001305/0.9611, allocations: 295.7 kB / 0.9172 GB, free: 6.973 MB / 0.6856 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.003587/0.9647, allocations: 2.167 MB / 0.9193 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0026/0.9673, allocations: 1.036 MB / 0.9203 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.9673, allocations: 0 / 0.9203 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.9683, allocations: 0.5058 MB / 0.9208 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/0.9714, allocations: 0.5486 MB / 0.9213 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.9903, allocations: 9.596 MB / 0.9307 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/0.9911, allocations: 486.6 kB / 0.9312 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001293/0.9923, allocations: 275.9 kB / 0.9314 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006634/0.993, allocations: 359.3 kB / 0.9318 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/0.993, allocations: 0 / 0.9318 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/1.095, allocations: 34.52 MB / 0.9655 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.35, allocations: 7.297 kB / 0.9655 GB, free: 5.398 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.109155125916004] Failed to read output from testmodel.py, exit status != 0: 13.474470570217818 13.501367442 12.609471625 Calling exit ...