Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.001295/0.001295, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001558/0.001558, allocations: 220.1 kB / 22.26 MB, free: 5.125 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.988 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.873/0.873, 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.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",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.001947/0.001947, allocations: 74.78 kB / 0.6186 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1557, allocations: 85.9 MB / 0.7025 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6511/0.8069, allocations: 197.8 MB / 0.8957 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009401/0.8163, allocations: 5.281 MB / 0.9008 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.8175, allocations: 71.31 kB / 0.9009 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.8196, allocations: 0.8392 MB / 0.9017 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007246/0.8268, allocations: 2.782 MB / 0.9044 GB, free: 7.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.8297, allocations: 1.058 MB / 0.9055 GB, free: 6.625 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004146/0.8338, allocations: 2.743 MB / 0.9081 GB, free: 3.875 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.8353, allocations: 0.7657 MB / 0.9089 GB, free: 3.102 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.8377, allocations: 1.179 MB / 0.91 GB, free: 1.918 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001673/0.8394, allocations: 1.066 MB / 0.9111 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.8396, allocations: 88 kB / 0.9112 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.8433, allocations: 1.948 MB / 0.9131 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006829/0.844, allocations: 470.3 kB / 0.9135 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.845, allocations: 0.6721 MB / 0.9142 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.8496, allocations: 2.249 MB / 0.9164 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8496, allocations: 0 / 0.9164 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8496, allocations: 0 / 0.9164 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.219e-05/0.8496, allocations: 0 / 0.9164 GB, free: 11.41 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005419/0.8551, allocations: 1.954 MB / 0.9183 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.8551, allocations: 8.031 kB / 0.9183 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.8553, allocations: 151.4 kB / 0.9184 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005522/0.8608, allocations: 0.908 MB / 0.9193 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.8628, allocations: 0.9057 MB / 0.9202 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.8629, allocations: 66 kB / 0.9203 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.8631, allocations: 88 kB / 0.9203 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/0.8668, allocations: 1.579 MB / 0.9219 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.8668, allocations: 3.938 kB / 0.9219 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.8669, allocations: 43.94 kB / 0.9219 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.506e-05/0.867, allocations: 49.98 kB / 0.922 GB, free: 5.527 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.8721, allocations: 1.85 MB / 0.9238 GB, free: 3.68 MB / 0.6856 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.008303/0.8804, allocations: 4.698 MB / 0.9284 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.8847, allocations: 1.529 MB / 0.9299 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.887, allocations: 0.8078 MB / 0.9306 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009617/0.888, allocations: 200.8 kB / 0.9308 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002441/0.8904, allocations: 0.907 MB / 0.9317 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 4.047e-06/0.8904, allocations: 0 / 0.9317 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.00762/0.898, allocations: 2.463 MB / 0.9341 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.8981, allocations: 68.41 kB / 0.9342 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.8997, allocations: 1.222 MB / 0.9354 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.8998, allocations: 45.7 kB / 0.9354 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.9003, allocations: 0.5574 MB / 0.936 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.9007, allocations: 341.1 kB / 0.9363 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.901, allocations: 186.6 kB / 0.9365 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.9012, allocations: 345.9 kB / 0.9368 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.9033, allocations: 0.6966 MB / 0.9375 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.9056, allocations: 0.919 MB / 0.9384 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004325/0.9099, allocations: 1.55 MB / 0.9399 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.9099, allocations: 0 / 0.9399 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005106/0.915, allocations: 1.789 MB / 0.9416 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.9151, allocations: 8.062 kB / 0.9417 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.9151, allocations: 7.938 kB / 0.9417 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.9151, allocations: 12 kB / 0.9417 GB, free: 0.9141 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.9169, allocations: 339.5 kB / 0.942 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.9169, allocations: 8 kB / 0.942 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.9185, allocations: 243 kB / 0.9422 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.9187, allocations: 47.97 kB / 0.9423 GB, free: 296 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * 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.0006289/0.9193, allocations: 343.4 kB / 0.9426 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.9195, allocations: 147.1 kB / 0.9428 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/0.9249, allocations: 1.829 MB / 0.9445 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.9249, allocations: 8 kB / 0.9445 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9249, allocations: 4 kB / 0.9445 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.9249, allocations: 7.969 kB / 0.9446 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007985/0.9329, allocations: 3.34 MB / 0.9478 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.9329, allocations: 4 kB / 0.9478 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.9346, allocations: 287.6 kB / 0.9481 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/0.9346, allocations: 8 kB / 0.9481 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.9347, allocations: 39.97 kB / 0.9481 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/0.9347, allocations: 8.031 kB / 0.9481 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.9347, allocations: 11.94 kB / 0.9482 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007497/0.9422, allocations: 2.872 MB / 0.951 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008441/0.9431, allocations: 254.8 kB / 0.9512 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.9433, allocations: 24 kB / 0.9512 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.9447, allocations: 151.8 kB / 0.9514 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.9449, allocations: 80.41 kB / 0.9515 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.945, allocations: 39.97 kB / 0.9515 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001166/0.9462, allocations: 0.8517 MB / 0.9523 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9462, allocations: 0 / 0.9523 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001178/0.9473, allocations: 351.6 kB / 0.9527 GB, free: 5.484 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.009487/0.9568, allocations: 3.848 MB / 0.9564 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005001/0.9618, allocations: 1.595 MB / 0.958 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.9618, allocations: 256 / 0.958 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/0.9643, allocations: 0.8162 MB / 0.9588 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.9671, allocations: 0.6265 MB / 0.9594 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/0.9925, allocations: 12.18 MB / 0.9713 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/0.9934, allocations: 1.195 MB / 0.9724 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001519/0.9949, allocations: 362.2 kB / 0.9728 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008876/0.9958, allocations: 0.511 MB / 0.9733 GB, free: 144 kB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/0.9958, allocations: 7.938 kB / 0.9733 GB, free: 136 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08557/1.081, allocations: 36.93 MB / 1.009 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.82, allocations: 5.625 kB / 1.009 GB, free: 11.48 MB / 0.7794 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.65377070300019] Failed to read output from testmodel.py, exit status != 0: 17.999697109000408 18.017153421 17.164080325 Calling exit ...