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.001679/0.001679, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.002293/0.002293, allocations: 217.8 kB / 23 MB, free: 4.973 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.657/1.657, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 1.017/1.017, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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.00244/0.00244, allocations: 69.78 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1969, allocations: 89.17 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6661/0.863, allocations: 171.9 MB / 0.8961 GB, free: 9.918 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.8763, allocations: 6.561 MB / 0.9025 GB, free: 3.348 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.8784, allocations: 63.44 kB / 0.9025 GB, free: 3.285 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.8808, allocations: 0.6946 MB / 0.9032 GB, free: 2.586 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.8883, allocations: 2.424 MB / 0.9056 GB, free: 156 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.8923, allocations: 1.449 MB / 0.907 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004981/0.8973, allocations: 3.003 MB / 0.9099 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.8986, allocations: 0.6993 MB / 0.9106 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004242/0.9029, allocations: 1.638 MB / 0.9122 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.9046, allocations: 0.8064 MB / 0.913 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.9048, allocations: 100 kB / 0.9131 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.9086, allocations: 1.656 MB / 0.9147 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005449/0.9092, allocations: 378.8 kB / 0.9151 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007198/0.9099, allocations: 481.6 kB / 0.9155 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.9145, allocations: 2.344 MB / 0.9178 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9145, allocations: 4 kB / 0.9178 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.514e-06/0.9145, allocations: 0 / 0.9178 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.039e-05/0.9145, allocations: 0 / 0.9178 GB, free: 3.625 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.003848/0.9184, allocations: 1.594 MB / 0.9194 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.9184, allocations: 12.02 kB / 0.9194 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.9186, allocations: 110.5 kB / 0.9195 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/0.9217, allocations: 0.5416 MB / 0.92 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.9244, allocations: 0.9663 MB / 0.921 GB, free: 332 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/0.9245, allocations: 57.31 kB / 0.921 GB, free: 272 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.9246, allocations: 68 kB / 0.9211 GB, free: 204 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.9275, allocations: 1.246 MB / 0.9223 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.9276, allocations: 4 kB / 0.9223 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.9276, allocations: 24 kB / 0.9223 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.9277, allocations: 33.3 kB / 0.9224 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.9309, allocations: 1.19 MB / 0.9235 GB, free: 13.64 MB / 0.7012 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.006085/0.937, allocations: 2.871 MB / 0.9263 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.9387, allocations: 0.6817 MB / 0.927 GB, free: 10 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008623/0.9396, allocations: 423.8 kB / 0.9274 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005338/0.9401, allocations: 132.3 kB / 0.9275 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.9413, allocations: 0.6433 MB / 0.9281 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.324e-06/0.9413, allocations: 0 / 0.9281 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003336/0.9446, allocations: 1.299 MB / 0.9294 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.9448, allocations: 140.8 kB / 0.9295 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.9469, allocations: 1.184 MB / 0.9307 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.985e-05/0.947, allocations: 37.7 kB / 0.9307 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004349/0.9474, allocations: 441.8 kB / 0.9312 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.9476, allocations: 202.3 kB / 0.9314 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.9479, allocations: 146.2 kB / 0.9315 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9481, allocations: 326 kB / 0.9318 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.9494, allocations: 470.7 kB / 0.9323 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.9511, allocations: 0.9862 MB / 0.9332 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.9533, allocations: 0.9332 MB / 0.9341 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.9533, allocations: 0 / 0.9341 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003236/0.9565, allocations: 1.242 MB / 0.9353 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.9566, allocations: 37.69 kB / 0.9354 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9566, allocations: 4 kB / 0.9354 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.9566, allocations: 7.938 kB / 0.9354 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/0.9575, allocations: 187.8 kB / 0.9356 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.9575, allocations: 8 kB / 0.9356 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.9591, allocations: 247.1 kB / 0.9358 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/0.9592, allocations: 35.98 kB / 0.9358 GB, free: 0.543 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.0005758/0.9597, allocations: 331.3 kB / 0.9362 GB, free: 208 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.96, allocations: 120.4 kB / 0.9363 GB, free: 88 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.9623, allocations: 1.04 MB / 0.9373 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.9623, allocations: 11.94 kB / 0.9373 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9623, allocations: 0 / 0.9373 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.9623, allocations: 3.984 kB / 0.9373 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005454/0.9678, allocations: 3.007 MB / 0.9402 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.9678, allocations: 4 kB / 0.9402 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.9684, allocations: 120.9 kB / 0.9404 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.684e-05/0.9684, allocations: 16 kB / 0.9404 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.9685, allocations: 23.98 kB / 0.9404 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.9685, allocations: 19.92 kB / 0.9404 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.9685, allocations: 11.94 kB / 0.9404 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.971, allocations: 1.392 MB / 0.9418 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/0.9717, allocations: 258.9 kB / 0.942 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.9719, allocations: 31.98 kB / 0.9421 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.9729, allocations: 91.91 kB / 0.9422 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.9731, allocations: 67.73 kB / 0.9422 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9732, allocations: 39.97 kB / 0.9423 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001633/0.9748, allocations: 0.8482 MB / 0.9431 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9748, allocations: 0 / 0.9431 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001227/0.976, allocations: 299.6 kB / 0.9434 GB, free: 8.52 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.003645/0.9797, allocations: 2.172 MB / 0.9455 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.9822, allocations: 1.028 MB / 0.9465 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.9823, allocations: 7.984 kB / 0.9465 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009857/0.9832, allocations: 0.5102 MB / 0.947 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.9859, allocations: 0.5425 MB / 0.9475 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.004, allocations: 9.588 MB / 0.9569 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/1.005, allocations: 482.6 kB / 0.9574 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001309/1.006, allocations: 268.3 kB / 0.9576 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005972/1.007, allocations: 367.3 kB / 0.958 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of SimCode: time 1.653e-06/1.007, allocations: 3.938 kB / 0.958 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07855/1.085, allocations: 34.51 MB / 0.9917 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.49, allocations: 11.98 kB / 0.9917 GB, free: 6.992 MB / 0.7637 GB " [Timeout remaining time 646] (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: 17.841108777094632] Failed to read output from testmodel.py, exit status != 0: 13.621525354217738 13.64453173 12.726822986 Calling exit ...