Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001327/0.001327, allocations: 110.6 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.001549/0.001549, allocations: 220.6 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.984 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.8499/0.8499, allocations: 134 MB / 446.4 MB, free: 10.27 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_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001985/0.001985, allocations: 65.48 kB / 0.6186 GB, free: 7.203 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.181, allocations: 85.9 MB / 0.7025 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03842/0.2195, allocations: 30.01 MB / 0.7318 GB, free: 3.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.2318, allocations: 7.025 MB / 0.7386 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.2335, allocations: 71.31 kB / 0.7387 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2355, allocations: 0.703 MB / 0.7394 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00489/0.2404, allocations: 1.597 MB / 0.7409 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.2439, allocations: 1.105 MB / 0.742 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004516/0.2484, allocations: 2.547 MB / 0.7445 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.2501, allocations: 0.6583 MB / 0.7452 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.2529, allocations: 1.078 MB / 0.7462 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.2548, allocations: 0.8636 MB / 0.747 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.255, allocations: 67.94 kB / 0.7471 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.2574, allocations: 0.8811 MB / 0.748 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.2578, allocations: 294.8 kB / 0.7483 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008623/0.2586, allocations: 0.5514 MB / 0.7488 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003938/0.2626, allocations: 1.665 MB / 0.7504 GB, free: 112 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2626, allocations: 0 / 0.7504 GB, free: 112 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2626, allocations: 4 kB / 0.7504 GB, free: 108 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.869e-05/0.2626, allocations: 0 / 0.7504 GB, free: 108 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.3319/0.5945, allocations: 1.551 MB / 0.7519 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5945, allocations: 9.906 kB / 0.7519 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.5947, allocations: 114.4 kB / 0.7521 GB, free: 48.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003687/0.5984, allocations: 0.595 MB / 0.7526 GB, free: 48.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.6003, allocations: 0.8197 MB / 0.7534 GB, free: 48.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.6004, allocations: 58.22 kB / 0.7535 GB, free: 48.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.6005, allocations: 70.06 kB / 0.7536 GB, free: 48.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.6032, allocations: 1.099 MB / 0.7546 GB, free: 48.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.6032, allocations: 6.188 kB / 0.7546 GB, free: 48.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.483e-05/0.6033, allocations: 29.66 kB / 0.7547 GB, free: 48.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.6033, allocations: 18.56 kB / 0.7547 GB, free: 48.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.6067, allocations: 1.005 MB / 0.7557 GB, free: 48.07 MB / 0.5606 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.006341/0.613, allocations: 4.915 MB / 0.7605 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/0.6159, allocations: 0.8706 MB / 0.7613 GB, free: 44.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.6174, allocations: 465 kB / 0.7618 GB, free: 43.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007618/0.6182, allocations: 182.9 kB / 0.7619 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.6198, allocations: 0.5718 MB / 0.7625 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.6198, allocations: 0 / 0.7625 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004903/0.6247, allocations: 1.495 MB / 0.764 GB, free: 43.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.6248, allocations: 60.41 kB / 0.764 GB, free: 43.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.6263, allocations: 1.145 MB / 0.7651 GB, free: 42.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.834e-05/0.6264, allocations: 43.34 kB / 0.7652 GB, free: 42.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.6267, allocations: 0.5578 MB / 0.7657 GB, free: 42.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.6269, allocations: 220.9 kB / 0.7659 GB, free: 42.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.6272, allocations: 165.1 kB / 0.7661 GB, free: 42.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.6272, allocations: 340.3 kB / 0.7664 GB, free: 41.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.6286, allocations: 445.6 kB / 0.7668 GB, free: 41.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001499/0.6301, allocations: 0.7091 MB / 0.7675 GB, free: 41.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.6328, allocations: 1.122 MB / 0.7686 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.6328, allocations: 4.016 kB / 0.7686 GB, free: 40.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003449/0.6362, allocations: 1.285 MB / 0.7699 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.6362, allocations: 9.188 kB / 0.7699 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6363, allocations: 11.12 kB / 0.7699 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.6363, allocations: 12.28 kB / 0.7699 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.6375, allocations: 271.8 kB / 0.7702 GB, free: 40.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.6375, allocations: 22.5 kB / 0.7702 GB, free: 40.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.6388, allocations: 185.2 kB / 0.7704 GB, free: 40.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6389, allocations: 47.42 kB / 0.7704 GB, free: 40.09 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004488/0.6394, allocations: 292.7 kB / 0.7707 GB, free: 39.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.6396, allocations: 125.7 kB / 0.7708 GB, free: 39.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.6432, allocations: 1.413 MB / 0.7722 GB, free: 39.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.6432, allocations: 13.34 kB / 0.7722 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6432, allocations: 0 / 0.7722 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.6432, allocations: 5.531 kB / 0.7722 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.6479, allocations: 2.391 MB / 0.7745 GB, free: 38.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.6479, allocations: 6.375 kB / 0.7745 GB, free: 38.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/0.6488, allocations: 189.2 kB / 0.7747 GB, free: 38.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.6489, allocations: 3.781 kB / 0.7747 GB, free: 38.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.6489, allocations: 26.62 kB / 0.7748 GB, free: 38.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.6489, allocations: 4.344 kB / 0.7748 GB, free: 38.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6489, allocations: 2.281 kB / 0.7748 GB, free: 38.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/0.6535, allocations: 2.03 MB / 0.7767 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/0.654, allocations: 207.4 kB / 0.7769 GB, free: 36.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6542, allocations: 25.05 kB / 0.777 GB, free: 36.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.6551, allocations: 109.6 kB / 0.7771 GB, free: 36.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.6552, allocations: 56.12 kB / 0.7771 GB, free: 36.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.6553, allocations: 37.69 kB / 0.7772 GB, free: 36.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008501/0.6561, allocations: 0.7916 MB / 0.7779 GB, free: 36.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6561, allocations: 0 / 0.7779 GB, free: 36.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00113/0.6573, allocations: 355.4 kB / 0.7783 GB, free: 36.32 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006664/0.6639, allocations: 3.104 MB / 0.7813 GB, free: 34.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003113/0.667, allocations: 1.1 MB / 0.7824 GB, free: 34.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.667, allocations: 192 / 0.7824 GB, free: 34.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.6687, allocations: 0.5663 MB / 0.7829 GB, free: 33.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.6708, allocations: 457 kB / 0.7834 GB, free: 33.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.6865, allocations: 9.738 MB / 0.7929 GB, free: 25.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.687, allocations: 1.112 MB / 0.794 GB, free: 24.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008986/0.6879, allocations: 252.7 kB / 0.7942 GB, free: 23.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.6884, allocations: 475.2 kB / 0.7947 GB, free: 23.51 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.6884, allocations: 0 / 0.7947 GB, free: 23.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/0.7548, allocations: 31.79 MB / 0.8257 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.05, allocations: 10.17 kB / 0.8257 GB, free: 7.965 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water_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_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.777774638001574] Failed to read output from testmodel.py, exit status != 0: 14.232854435998888 14.261716519 13.993938781 Calling exit ...