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.00174/0.00174, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001942/0.001942, allocations: 216.2 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.8671/0.8671, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.001914/0.001914, allocations: 78.41 kB / 0.6135 GB, free: 8.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1807, allocations: 85.84 MB / 0.6973 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6303/0.8111, allocations: 197.5 MB / 0.8901 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009744/0.8208, allocations: 5.262 MB / 0.8953 GB, free: 13.58 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.8221, allocations: 67.38 kB / 0.8953 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.8241, allocations: 0.8392 MB / 0.8961 GB, free: 12.67 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006976/0.8311, allocations: 2.739 MB / 0.8988 GB, free: 9.922 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.8338, allocations: 1.018 MB / 0.8998 GB, free: 8.906 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.8376, allocations: 2.723 MB / 0.9025 GB, free: 6.176 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.839, allocations: 0.8119 MB / 0.9033 GB, free: 5.352 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.8412, allocations: 1.168 MB / 0.9044 GB, free: 4.18 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.8429, allocations: 1.07 MB / 0.9055 GB, free: 3.105 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.843, allocations: 88 kB / 0.9055 GB, free: 3.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.8467, allocations: 1.909 MB / 0.9074 GB, free: 1.105 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.8472, allocations: 462.3 kB / 0.9078 GB, free: 0.6523 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008224/0.848, allocations: 0.6762 MB / 0.9085 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.8518, allocations: 2.249 MB / 0.9107 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8518, allocations: 4 kB / 0.9107 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8519, allocations: 3.938 kB / 0.9107 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.064e-05/0.8519, allocations: 0 / 0.9107 GB, free: 13.71 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.005492/0.8574, allocations: 2.021 MB / 0.9127 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.8574, allocations: 9.109 kB / 0.9127 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002663/0.8577, allocations: 151.4 kB / 0.9128 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.8634, allocations: 0.9158 MB / 0.9137 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.8654, allocations: 0.9816 MB / 0.9147 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.8655, allocations: 74 kB / 0.9148 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.8657, allocations: 91.98 kB / 0.9148 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/0.8697, allocations: 1.579 MB / 0.9164 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.8698, allocations: 7.875 kB / 0.9164 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.8699, allocations: 36 kB / 0.9164 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.867e-05/0.87, allocations: 49.98 kB / 0.9165 GB, free: 7.645 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005587/0.8755, allocations: 1.846 MB / 0.9183 GB, free: 5.801 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.008213/0.8838, allocations: 4.744 MB / 0.9229 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/0.8884, allocations: 1.517 MB / 0.9244 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.8908, allocations: 0.8233 MB / 0.9252 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/0.8922, allocations: 0.9413 MB / 0.9261 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002595/0.8948, allocations: 0.911 MB / 0.927 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/0.8948, allocations: 3.938 kB / 0.927 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.008257/0.903, allocations: 2.459 MB / 0.9294 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.9031, allocations: 64.41 kB / 0.9295 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.9048, allocations: 1.23 MB / 0.9307 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.9049, allocations: 45.7 kB / 0.9307 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.9054, allocations: 0.5495 MB / 0.9313 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.9058, allocations: 337.1 kB / 0.9316 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.9062, allocations: 190.6 kB / 0.9318 GB, free: 7.504 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.9063, allocations: 341.9 kB / 0.9321 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.9086, allocations: 0.7084 MB / 0.9328 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.9112, allocations: 0.9151 MB / 0.9337 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.9158, allocations: 1.554 MB / 0.9352 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.9158, allocations: 0 / 0.9352 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005377/0.9212, allocations: 1.781 MB / 0.9369 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.9212, allocations: 11.94 kB / 0.9369 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.9212, allocations: 4 kB / 0.9369 GB, free: 2.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.9212, allocations: 8 kB / 0.9369 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.9231, allocations: 343.9 kB / 0.9373 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.9231, allocations: 8 kB / 0.9373 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.9247, allocations: 243 kB / 0.9375 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.9249, allocations: 47.97 kB / 0.9376 GB, free: 1.422 MB / 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.0006126/0.9255, allocations: 337 kB / 0.9379 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.9257, allocations: 151.1 kB / 0.938 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005395/0.9311, allocations: 1.805 MB / 0.9398 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.9311, allocations: 8 kB / 0.9398 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.9311, allocations: 1.344 kB / 0.9398 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.9312, allocations: 11.91 kB / 0.9398 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007731/0.9389, allocations: 3.34 MB / 0.9431 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.9389, allocations: 4 kB / 0.9431 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.9406, allocations: 296 kB / 0.9434 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.857e-05/0.9406, allocations: 12 kB / 0.9434 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.943e-05/0.9407, allocations: 31.97 kB / 0.9434 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.9407, allocations: 8 kB / 0.9434 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.9407, allocations: 13.67 kB / 0.9434 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007765/0.9485, allocations: 2.84 MB / 0.9462 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006935/0.9492, allocations: 331.9 kB / 0.9465 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.9494, allocations: 35.98 kB / 0.9465 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.9508, allocations: 159.8 kB / 0.9467 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.951, allocations: 68.44 kB / 0.9468 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.844e-05/0.9511, allocations: 47.97 kB / 0.9468 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001161/0.9523, allocations: 0.8517 MB / 0.9476 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.9523, allocations: 0 / 0.9476 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001111/0.9534, allocations: 343.7 kB / 0.948 GB, free: 6.562 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 (95): * Single equations (assignments): 89 * 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.009778/0.9631, allocations: 3.816 MB / 0.9517 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005115/0.9683, allocations: 1.591 MB / 0.9532 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9683, allocations: 4 kB / 0.9532 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.9708, allocations: 0.8087 MB / 0.954 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.9737, allocations: 0.6197 MB / 0.9546 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/1.001, allocations: 12.18 MB / 0.9665 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/1.002, allocations: 1.187 MB / 0.9677 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001455/1.004, allocations: 362 kB / 0.968 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/1.005, allocations: 0.5187 MB / 0.9685 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of SimCode: time 1.312e-06/1.005, allocations: 0 / 0.9685 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08093/1.086, allocations: 36.03 MB / 1.004 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.73, allocations: 10.73 kB / 1.004 GB, free: 13.54 MB / 0.7794 GB " [Timeout remaining time 648] (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: 15.573548839005525] Failed to read output from testmodel.py, exit status != 0: 11.874087906006025 11.89040936 11.035212945 Calling exit ...