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.0013/0.0013, allocations: 108.1 kB / 16.46 MB, free: 6.457 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.001519/0.001519, allocations: 212.3 kB / 19.43 MB, free: 3.625 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.413/1.413, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.8094/0.8094, allocations: 133.9 MB / 442.8 MB, free: 11.34 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.001876/0.001876, allocations: 70.14 kB / 0.6135 GB, free: 8.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1772, allocations: 85.84 MB / 0.6973 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03683/0.2141, allocations: 29.74 MB / 0.7263 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2266, allocations: 6.986 MB / 0.7332 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.2281, allocations: 71.31 kB / 0.7332 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.23, allocations: 0.7109 MB / 0.7339 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.2345, allocations: 1.563 MB / 0.7354 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.2374, allocations: 1.054 MB / 0.7365 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003777/0.2412, allocations: 2.524 MB / 0.7389 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.2425, allocations: 0.6889 MB / 0.7396 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.2446, allocations: 1.066 MB / 0.7406 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.2461, allocations: 0.8714 MB / 0.7415 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001837/0.2462, allocations: 68 kB / 0.7416 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.2482, allocations: 0.8538 MB / 0.7424 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.2486, allocations: 286.8 kB / 0.7427 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.2494, allocations: 0.5554 MB / 0.7432 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003129/0.2525, allocations: 1.669 MB / 0.7448 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.2525, allocations: 4 kB / 0.7448 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2525, allocations: 0 / 0.7448 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.2525, allocations: 0 / 0.7448 GB, free: 2.094 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.003209/0.2557, allocations: 1.623 MB / 0.7464 GB, free: 424 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.2558, allocations: 21.09 kB / 0.7465 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.2559, allocations: 114.6 kB / 0.7466 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3311/0.587, allocations: 0.5867 MB / 0.7471 GB, free: 49.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.5888, allocations: 0.8932 MB / 0.748 GB, free: 49.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.5889, allocations: 56.53 kB / 0.7481 GB, free: 49.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.5891, allocations: 74.75 kB / 0.7481 GB, free: 49.49 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.5918, allocations: 1.1 MB / 0.7492 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.5919, allocations: 6.281 kB / 0.7492 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.592, allocations: 30.23 kB / 0.7492 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.592, allocations: 19.03 kB / 0.7493 GB, free: 49.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.5952, allocations: 1.005 MB / 0.7502 GB, free: 49.2 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.005827/0.6011, allocations: 4.965 MB / 0.7551 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.6042, allocations: 0.8717 MB / 0.7559 GB, free: 45.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.6058, allocations: 459.5 kB / 0.7564 GB, free: 45.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.6069, allocations: 1.596 MB / 0.7579 GB, free: 43.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/0.6087, allocations: 0.568 MB / 0.7585 GB, free: 43.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.6087, allocations: 1.094 kB / 0.7585 GB, free: 43.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005409/0.6141, allocations: 1.503 MB / 0.76 GB, free: 42.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.6141, allocations: 58.41 kB / 0.76 GB, free: 42.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.616, allocations: 1.141 MB / 0.7611 GB, free: 42.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.364e-05/0.6161, allocations: 39.22 kB / 0.7612 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.6165, allocations: 0.5671 MB / 0.7617 GB, free: 41.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.6167, allocations: 217 kB / 0.7619 GB, free: 41.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.617, allocations: 169.2 kB / 0.7621 GB, free: 41.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.617, allocations: 335.4 kB / 0.7624 GB, free: 41.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.6185, allocations: 449.7 kB / 0.7628 GB, free: 41.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.6204, allocations: 0.7152 MB / 0.7635 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.6234, allocations: 1.117 MB / 0.7646 GB, free: 40.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6234, allocations: 3 kB / 0.7646 GB, free: 40.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003649/0.6271, allocations: 1.279 MB / 0.7659 GB, free: 39.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6271, allocations: 8.688 kB / 0.7659 GB, free: 39.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.6271, allocations: 12.38 kB / 0.7659 GB, free: 39.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.6271, allocations: 15.41 kB / 0.7659 GB, free: 39.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6283, allocations: 272.5 kB / 0.7662 GB, free: 39.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.6283, allocations: 16.36 kB / 0.7662 GB, free: 39.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.6296, allocations: 176.3 kB / 0.7664 GB, free: 39.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/0.6297, allocations: 51.58 kB / 0.7664 GB, free: 39.58 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.0004298/0.6301, allocations: 291.6 kB / 0.7667 GB, free: 39.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.6303, allocations: 135.5 kB / 0.7668 GB, free: 39.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/0.634, allocations: 1.367 MB / 0.7681 GB, free: 38.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.634, allocations: 14.12 kB / 0.7682 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.634, allocations: 0 / 0.7682 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.634, allocations: 4.688 kB / 0.7682 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/0.6389, allocations: 2.386 MB / 0.7705 GB, free: 37.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.6389, allocations: 2.562 kB / 0.7705 GB, free: 37.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/0.6399, allocations: 185.5 kB / 0.7707 GB, free: 37.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.6399, allocations: 4.906 kB / 0.7707 GB, free: 37.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.6399, allocations: 29.72 kB / 0.7707 GB, free: 37.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.64, allocations: 8.188 kB / 0.7707 GB, free: 37.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.64, allocations: 1.156 kB / 0.7707 GB, free: 37.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/0.6449, allocations: 1.983 MB / 0.7727 GB, free: 36.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.6453, allocations: 282.6 kB / 0.7729 GB, free: 36.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.6454, allocations: 19.08 kB / 0.7729 GB, free: 36.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/0.6464, allocations: 108.8 kB / 0.773 GB, free: 36.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6465, allocations: 51.8 kB / 0.7731 GB, free: 36.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.64e-05/0.6465, allocations: 34.22 kB / 0.7731 GB, free: 36.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000883/0.6474, allocations: 0.7878 MB / 0.7739 GB, free: 36.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.6474, allocations: 0 / 0.7739 GB, free: 36.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001122/0.6485, allocations: 353.4 kB / 0.7742 GB, free: 36.01 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 (70): * Single equations (assignments): 55 * 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.006891/0.6554, allocations: 3.066 MB / 0.7772 GB, free: 34.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003274/0.6587, allocations: 1.089 MB / 0.7783 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6587, allocations: 0 / 0.7783 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.6602, allocations: 0.5422 MB / 0.7788 GB, free: 33.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.6624, allocations: 466.1 kB / 0.7793 GB, free: 33.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/0.6783, allocations: 9.702 MB / 0.7887 GB, free: 25.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.6787, allocations: 1.108 MB / 0.7898 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008204/0.6795, allocations: 252.7 kB / 0.7901 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/0.68, allocations: 475.2 kB / 0.7905 GB, free: 23.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.68, allocations: 0 / 0.7905 GB, free: 23.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05696/0.737, allocations: 30.98 MB / 0.8208 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.17, allocations: 11.98 kB / 0.8208 GB, free: 9.234 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.894984857994132] Failed to read output from testmodel.py, exit status != 0: 11.310524318003445 11.326027012 11.070266912 Calling exit ...