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.001284/0.001284, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001451/0.001451, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 8.016 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.8541/0.8541, allocations: 134 MB / 446.4 MB, free: 10.22 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.00196/0.00196, allocations: 74.84 kB / 0.6186 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 85.9 MB / 0.7024 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5556/0.719, allocations: 198.1 MB / 0.8959 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.7313, allocations: 6.967 MB / 0.9027 GB, free: 9.625 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002008/0.7333, allocations: 67.38 kB / 0.9028 GB, free: 9.559 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.7353, allocations: 0.7142 MB / 0.9035 GB, free: 8.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.742, allocations: 2.474 MB / 0.9059 GB, free: 6.355 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.7457, allocations: 1.494 MB / 0.9073 GB, free: 4.887 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004584/0.7503, allocations: 3.044 MB / 0.9103 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.7516, allocations: 0.719 MB / 0.911 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.7545, allocations: 1.17 MB / 0.9122 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.756, allocations: 0.861 MB / 0.913 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.7562, allocations: 100 kB / 0.9131 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004106/0.7603, allocations: 2.202 MB / 0.9152 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.7608, allocations: 382.6 kB / 0.9156 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007266/0.7615, allocations: 0.5753 MB / 0.9162 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.7655, allocations: 2.432 MB / 0.9185 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.7655, allocations: 4 kB / 0.9185 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.195e-06/0.7655, allocations: 0 / 0.9185 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.7656, allocations: 7.875 kB / 0.9186 GB, free: 9.379 MB / 0.6856 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.003703/0.7693, allocations: 1.603 MB / 0.9201 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.7693, allocations: 12.03 kB / 0.9201 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.7695, allocations: 114.4 kB / 0.9202 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/0.7723, allocations: 0.5338 MB / 0.9208 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.7748, allocations: 0.9711 MB / 0.9217 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.7749, allocations: 61.3 kB / 0.9218 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.775, allocations: 64 kB / 0.9218 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.7775, allocations: 1.109 MB / 0.9229 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7775, allocations: 4 kB / 0.9229 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.7776, allocations: 31.98 kB / 0.9229 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.7776, allocations: 25.31 kB / 0.923 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.7806, allocations: 1.168 MB / 0.9241 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006265/0.7869, allocations: 3.122 MB / 0.9272 GB, free: 396 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.7886, allocations: 0.6451 MB / 0.9278 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.7894, allocations: 394.1 kB / 0.9282 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.7899, allocations: 132.2 kB / 0.9283 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.791, allocations: 0.5139 MB / 0.9288 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.384e-06/0.791, allocations: 0 / 0.9288 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003104/0.7941, allocations: 1.229 MB / 0.93 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.7942, allocations: 148.9 kB / 0.9301 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.7962, allocations: 1.184 MB / 0.9313 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-05/0.7963, allocations: 37.7 kB / 0.9313 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.7967, allocations: 433.9 kB / 0.9317 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.7969, allocations: 202.2 kB / 0.9319 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.7972, allocations: 154.2 kB / 0.9321 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7974, allocations: 326 kB / 0.9324 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.7985, allocations: 449 kB / 0.9328 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.7999, allocations: 0.5863 MB / 0.9334 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.802, allocations: 0.9409 MB / 0.9343 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.802, allocations: 0 / 0.9343 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003124/0.8051, allocations: 1.193 MB / 0.9355 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.8052, allocations: 37.97 kB / 0.9355 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.8052, allocations: 11.94 kB / 0.9355 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.8052, allocations: 11.94 kB / 0.9355 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.8061, allocations: 179.8 kB / 0.9357 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.8061, allocations: 11.94 kB / 0.9357 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.8076, allocations: 247.1 kB / 0.936 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.8077, allocations: 35.92 kB / 0.936 GB, free: 7.102 MB / 0.7012 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.0005719/0.8083, allocations: 331.3 kB / 0.9363 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.8085, allocations: 123.2 kB / 0.9364 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.8106, allocations: 0.9986 MB / 0.9374 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.8107, allocations: 8 kB / 0.9374 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8107, allocations: 0 / 0.9374 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.8107, allocations: 7.984 kB / 0.9374 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005238/0.8159, allocations: 3.131 MB / 0.9405 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.8159, allocations: 8 kB / 0.9405 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.8166, allocations: 124.4 kB / 0.9406 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.8166, allocations: 8 kB / 0.9406 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/0.8166, allocations: 23.98 kB / 0.9406 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.518e-05/0.8166, allocations: 19.91 kB / 0.9406 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.8167, allocations: 8 kB / 0.9407 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.819, allocations: 1.355 MB / 0.942 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005912/0.8196, allocations: 258.9 kB / 0.9422 GB, free: 440 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.8197, allocations: 24 kB / 0.9422 GB, free: 416 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.8208, allocations: 103.9 kB / 0.9423 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.8209, allocations: 63.69 kB / 0.9424 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/0.821, allocations: 39.97 kB / 0.9424 GB, free: 208 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001552/0.8225, allocations: 0.8483 MB / 0.9433 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8225, allocations: 0 / 0.9433 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001094/0.8236, allocations: 303.6 kB / 0.9436 GB, free: 15.05 MB / 0.7169 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.003071/0.8267, allocations: 2.125 MB / 0.9456 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00245/0.8291, allocations: 0.9781 MB / 0.9466 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.8291, allocations: 4 kB / 0.9466 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/0.8301, allocations: 480.8 kB / 0.9471 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.8328, allocations: 0.5456 MB / 0.9476 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.8496, allocations: 9.431 MB / 0.9568 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.8504, allocations: 1.069 MB / 0.9578 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001019/0.8514, allocations: 268.2 kB / 0.9581 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/0.852, allocations: 367.2 kB / 0.9585 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of SimCode: time 1.252e-06/0.852, allocations: 3.938 kB / 0.9585 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07277/0.9248, allocations: 32.4 MB / 0.9901 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.73, allocations: 7.859 kB / 0.9901 GB, free: 15.16 MB / 0.7637 GB " [Timeout remaining time 646] (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.54305374199612] Failed to read output from testmodel.py, exit status != 0: 13.854392157998518 13.871001073 13.102133463 Calling exit ...