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.001808/0.001808, 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.002467/0.002467, allocations: 215.5 kB / 22.25 MB, free: 5.234 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.805 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.8321/0.8321, allocations: 134 MB / 446.4 MB, free: 9.98 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.001998/0.001998, allocations: 62.56 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1699, allocations: 85.92 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03285/0.2028, allocations: 27.11 MB / 0.7289 GB, free: 5.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.2141, allocations: 6.531 MB / 0.7353 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.2153, allocations: 67.44 kB / 0.7353 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.217, allocations: 0.703 MB / 0.736 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.221, allocations: 1.571 MB / 0.7376 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.2236, allocations: 1.078 MB / 0.7386 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00336/0.227, allocations: 2.528 MB / 0.7411 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.2281, allocations: 0.6466 MB / 0.7417 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.2299, allocations: 1.074 MB / 0.7428 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.2311, allocations: 0.844 MB / 0.7436 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.2312, allocations: 68 kB / 0.7436 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.2328, allocations: 0.6704 MB / 0.7443 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.2331, allocations: 290.8 kB / 0.7446 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004997/0.2336, allocations: 465.4 kB / 0.745 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.2357, allocations: 1.626 MB / 0.7466 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2357, allocations: 0 / 0.7466 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.827e-06/0.2357, allocations: 7.984 kB / 0.7466 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.2358, allocations: 0 / 0.7466 GB, free: 3.625 MB / 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.00269/0.2384, allocations: 1.556 MB / 0.7481 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2385, allocations: 8.031 kB / 0.7481 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.2386, allocations: 114.7 kB / 0.7483 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003344/0.242, allocations: 0.6008 MB / 0.7488 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.2435, allocations: 0.7869 MB / 0.7496 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.2436, allocations: 61.94 kB / 0.7497 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.2438, allocations: 68 kB / 0.7497 GB, free: 348 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3483/0.5921, allocations: 1.104 MB / 0.7508 GB, free: 47.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.5921, allocations: 5.188 kB / 0.7508 GB, free: 47.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.5922, allocations: 30.55 kB / 0.7508 GB, free: 47.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.5922, allocations: 17.41 kB / 0.7509 GB, free: 47.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/0.5954, allocations: 1.012 MB / 0.7518 GB, free: 47.89 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.005504/0.6009, allocations: 4.263 MB / 0.756 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003061/0.6039, allocations: 0.8831 MB / 0.7569 GB, free: 45.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.6054, allocations: 479 kB / 0.7573 GB, free: 45.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006797/0.6061, allocations: 170.4 kB / 0.7575 GB, free: 45.21 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001743/0.6078, allocations: 0.5796 MB / 0.7581 GB, free: 45.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.687e-06/0.6078, allocations: 3.906 kB / 0.7581 GB, free: 45.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004933/0.6128, allocations: 1.509 MB / 0.7595 GB, free: 44.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.6128, allocations: 59.77 kB / 0.7596 GB, free: 44.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.6144, allocations: 1.179 MB / 0.7607 GB, free: 44.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.6145, allocations: 39.34 kB / 0.7608 GB, free: 44.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.6149, allocations: 0.5684 MB / 0.7613 GB, free: 43.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.615, allocations: 220.6 kB / 0.7615 GB, free: 43.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/0.6153, allocations: 170.3 kB / 0.7617 GB, free: 43.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.712e-05/0.6154, allocations: 339.2 kB / 0.762 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.6171, allocations: 458.8 kB / 0.7625 GB, free: 43.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.6188, allocations: 0.9431 MB / 0.7634 GB, free: 42.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.622, allocations: 1.138 MB / 0.7645 GB, free: 41.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.622, allocations: 3.75 kB / 0.7645 GB, free: 41.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003497/0.6255, allocations: 1.286 MB / 0.7658 GB, free: 41.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.6255, allocations: 11.28 kB / 0.7658 GB, free: 41.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.6256, allocations: 7.844 kB / 0.7658 GB, free: 41.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.6256, allocations: 15.59 kB / 0.7658 GB, free: 41.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.6268, allocations: 276.5 kB / 0.7661 GB, free: 41.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.6268, allocations: 13.53 kB / 0.7661 GB, free: 41.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.6281, allocations: 185 kB / 0.7662 GB, free: 41.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6282, allocations: 49.75 kB / 0.7663 GB, free: 41.24 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.000481/0.6287, allocations: 297.6 kB / 0.7666 GB, free: 41.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6288, allocations: 133.3 kB / 0.7667 GB, free: 40.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.6327, allocations: 1.43 MB / 0.7681 GB, free: 40.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.6327, allocations: 17.92 kB / 0.7681 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.6327, allocations: 0.5156 kB / 0.7681 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.6327, allocations: 5.438 kB / 0.7681 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005377/0.6381, allocations: 2.331 MB / 0.7704 GB, free: 39.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6381, allocations: 1.438 kB / 0.7704 GB, free: 39.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.6391, allocations: 206.6 kB / 0.7706 GB, free: 39.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.6392, allocations: 4.062 kB / 0.7706 GB, free: 39.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.931e-05/0.6392, allocations: 25.86 kB / 0.7706 GB, free: 39.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.6392, allocations: 5.781 kB / 0.7706 GB, free: 39.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6392, allocations: 5.766 kB / 0.7706 GB, free: 39.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005242/0.6445, allocations: 2.076 MB / 0.7727 GB, free: 38.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/0.6451, allocations: 214.8 kB / 0.7729 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.6453, allocations: 14.44 kB / 0.7729 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6464, allocations: 110.8 kB / 0.773 GB, free: 38.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.6465, allocations: 60.62 kB / 0.7731 GB, free: 38.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.6466, allocations: 33.84 kB / 0.7731 GB, free: 38.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001378/0.648, allocations: 0.8102 MB / 0.7739 GB, free: 38.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.648, allocations: 0 / 0.7739 GB, free: 38.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001608/0.6496, allocations: 350.2 kB / 0.7742 GB, free: 38.27 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 (76): * Single equations (assignments): 61 * 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.007346/0.6569, allocations: 3.198 MB / 0.7773 GB, free: 36.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003457/0.6604, allocations: 1.116 MB / 0.7784 GB, free: 36.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6604, allocations: 1.188 kB / 0.7784 GB, free: 36.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.6619, allocations: 0.574 MB / 0.779 GB, free: 35.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.6641, allocations: 453.2 kB / 0.7794 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/0.6816, allocations: 9.793 MB / 0.789 GB, free: 27.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.682, allocations: 0.5218 MB / 0.7895 GB, free: 27.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008831/0.6829, allocations: 244.7 kB / 0.7897 GB, free: 27.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/0.6835, allocations: 475.2 kB / 0.7902 GB, free: 26.72 MB / 0.5606 GB Notification: Performance of SimCode: time 1.103e-06/0.6835, allocations: 0 / 0.7902 GB, free: 26.72 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/0.7554, allocations: 33.68 MB / 0.8231 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.37, allocations: 2.5 kB / 0.8231 GB, free: 9.449 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.132229255046695] Failed to read output from testmodel.py, exit status != 0: 13.552193441893905 13.579135827 13.338612438 Calling exit ...