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.001798/0.001798, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002397/0.002397, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.734 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.8979/0.8979, allocations: 134 MB / 446.4 MB, free: 9.941 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.002026/0.002026, allocations: 62.16 kB / 0.6185 GB, free: 6.836 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1897, allocations: 85.91 MB / 0.7024 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6216/0.8112, allocations: 171.4 MB / 0.8698 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.822, allocations: 5.006 MB / 0.8747 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.824, allocations: 63.38 kB / 0.8747 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.8264, allocations: 0.8042 MB / 0.8755 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008947/0.8353, allocations: 2.727 MB / 0.8782 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.8389, allocations: 1.027 MB / 0.8792 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005081/0.8439, allocations: 2.739 MB / 0.8818 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.846, allocations: 0.7461 MB / 0.8826 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.8498, allocations: 1.172 MB / 0.8837 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.8523, allocations: 1.023 MB / 0.8847 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004242/0.8527, allocations: 91.94 kB / 0.8848 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.8571, allocations: 1.484 MB / 0.8863 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008337/0.8579, allocations: 474.5 kB / 0.8867 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.8594, allocations: 0.5518 MB / 0.8872 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.8645, allocations: 2.199 MB / 0.8894 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.8645, allocations: 8 kB / 0.8894 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8645, allocations: 0 / 0.8894 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.625e-05/0.8646, allocations: 0 / 0.8894 GB, free: 3.559 MB / 0.6544 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.005611/0.8702, allocations: 1.962 MB / 0.8913 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.8703, allocations: 8.031 kB / 0.8913 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.8705, allocations: 135.6 kB / 0.8915 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/0.8758, allocations: 0.9002 MB / 0.8923 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.878, allocations: 0.8841 MB / 0.8932 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/0.8781, allocations: 65.98 kB / 0.8933 GB, free: 15.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.8783, allocations: 91.98 kB / 0.8933 GB, free: 15.42 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003975/0.8823, allocations: 1.599 MB / 0.8949 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.8823, allocations: 0 / 0.8949 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.8824, allocations: 32 kB / 0.8949 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/0.8825, allocations: 49.98 kB / 0.895 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00534/0.8878, allocations: 1.858 MB / 0.8968 GB, free: 11.85 MB / 0.67 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.008863/0.8967, allocations: 3.988 MB / 0.9007 GB, free: 7.758 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00453/0.9012, allocations: 1.518 MB / 0.9022 GB, free: 6.238 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.9035, allocations: 0.8156 MB / 0.903 GB, free: 5.418 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.9045, allocations: 192.8 kB / 0.9032 GB, free: 5.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002621/0.9071, allocations: 0.9227 MB / 0.9041 GB, free: 4.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 4.128e-06/0.9071, allocations: 0 / 0.9041 GB, free: 4.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.007973/0.915, allocations: 2.482 MB / 0.9065 GB, free: 1.805 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.9151, allocations: 68.39 kB / 0.9065 GB, free: 1.727 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.917, allocations: 1.253 MB / 0.9078 GB, free: 476 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.9171, allocations: 45.7 kB / 0.9078 GB, free: 424 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005446/0.9177, allocations: 0.5535 MB / 0.9084 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.918, allocations: 345 kB / 0.9087 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.9184, allocations: 190.5 kB / 0.9089 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9186, allocations: 345.9 kB / 0.9092 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/0.9209, allocations: 0.7122 MB / 0.9099 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/0.9234, allocations: 1.145 MB / 0.911 GB, free: 13 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004581/0.928, allocations: 1.565 MB / 0.9125 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.928, allocations: 0 / 0.9125 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00549/0.9335, allocations: 1.804 MB / 0.9143 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.9335, allocations: 8 kB / 0.9143 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.9336, allocations: 4.094 kB / 0.9143 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.9336, allocations: 11.94 kB / 0.9143 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.9354, allocations: 339.8 kB / 0.9146 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.423e-05/0.9354, allocations: 23.3 kB / 0.9147 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.9372, allocations: 231 kB / 0.9149 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.9373, allocations: 47.97 kB / 0.9149 GB, free: 8.914 MB / 0.6856 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.0008329/0.9382, allocations: 339.5 kB / 0.9153 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000497/0.9387, allocations: 143.1 kB / 0.9154 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005742/0.9444, allocations: 1.868 MB / 0.9172 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.9444, allocations: 12 kB / 0.9172 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.9444, allocations: 0 / 0.9172 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.9444, allocations: 3.984 kB / 0.9172 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008359/0.9528, allocations: 3.231 MB / 0.9204 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.9528, allocations: 4 kB / 0.9204 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/0.9545, allocations: 296.1 kB / 0.9207 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.056e-05/0.9546, allocations: 8 kB / 0.9207 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.9547, allocations: 35.97 kB / 0.9207 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/0.9547, allocations: 11.94 kB / 0.9207 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.9547, allocations: 4 kB / 0.9207 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/0.9625, allocations: 2.925 MB / 0.9236 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/0.9633, allocations: 250.8 kB / 0.9238 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/0.9636, allocations: 35.92 kB / 0.9239 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.9652, allocations: 152.6 kB / 0.924 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.9653, allocations: 76.81 kB / 0.9241 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.9654, allocations: 39.97 kB / 0.9241 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0013/0.9667, allocations: 0.8751 MB / 0.925 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.9667, allocations: 0 / 0.925 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001198/0.9679, allocations: 355.6 kB / 0.9253 GB, free: 14.11 MB / 0.7012 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 (101): * Single equations (assignments): 95 * 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.01003/0.978, allocations: 3.925 MB / 0.9291 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005075/0.9831, allocations: 1.621 MB / 0.9307 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.9831, allocations: 0 / 0.9307 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.9855, allocations: 0.8263 MB / 0.9315 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/0.9887, allocations: 0.6142 MB / 0.9321 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/1.016, allocations: 12.25 MB / 0.9441 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/1.017, allocations: 0.6074 MB / 0.9447 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001565/1.019, allocations: 365.9 kB / 0.945 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009707/1.02, allocations: 0.5032 MB / 0.9455 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of SimCode: time 1.683e-06/1.02, allocations: 0 / 0.9455 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08493/1.105, allocations: 39.43 MB / 0.984 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/14.06, allocations: 10.55 kB / 0.9841 GB, free: 2.23 MB / 0.7481 GB " [Timeout remaining time 646] (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: 18.14778064098209] Failed to read output from testmodel.py, exit status != 0: 14.243935324251652 14.273877193 13.403229961 Calling exit ...