Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001625/0.001625, allocations: 113 kB / 18.94 MB, free: 2.957 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.002067/0.002067, allocations: 214.4 kB / 22.25 MB, free: 5.121 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 8 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.8341/0.8341, allocations: 134 MB / 446.4 MB, free: 10.16 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_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001978/0.001978, allocations: 66.08 kB / 0.6186 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 85.91 MB / 0.7025 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.632/0.8118, allocations: 197.8 MB / 0.8957 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009971/0.8217, allocations: 5.274 MB / 0.9008 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.8234, allocations: 75.25 kB / 0.9009 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.8255, allocations: 0.8315 MB / 0.9017 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00724/0.8328, allocations: 2.781 MB / 0.9044 GB, free: 7.664 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.8358, allocations: 1.057 MB / 0.9054 GB, free: 6.609 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00479/0.8406, allocations: 2.676 MB / 0.9081 GB, free: 3.926 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.8423, allocations: 0.7213 MB / 0.9088 GB, free: 3.191 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.8451, allocations: 1.152 MB / 0.9099 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.8469, allocations: 1.035 MB / 0.9109 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.8471, allocations: 80 kB / 0.911 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.8511, allocations: 1.929 MB / 0.9129 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.8517, allocations: 446.5 kB / 0.9133 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008758/0.8526, allocations: 0.6642 MB / 0.9139 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.8569, allocations: 2.187 MB / 0.9161 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8569, allocations: 4 kB / 0.9161 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.582e-06/0.8569, allocations: 4 kB / 0.9161 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.8569, allocations: 0 / 0.9161 GB, free: 11.68 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005409/0.8623, allocations: 1.925 MB / 0.918 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.8624, allocations: 8.031 kB / 0.918 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.8625, allocations: 143.5 kB / 0.9181 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/0.8665, allocations: 0.6662 MB / 0.9188 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.8684, allocations: 0.8822 MB / 0.9196 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.8685, allocations: 69.98 kB / 0.9197 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.8687, allocations: 87.98 kB / 0.9198 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.872, allocations: 1.474 MB / 0.9212 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.872, allocations: 7.938 kB / 0.9212 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.8721, allocations: 32 kB / 0.9212 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.647e-05/0.8722, allocations: 53.92 kB / 0.9213 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004094/0.8763, allocations: 1.518 MB / 0.9228 GB, free: 4.641 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.01122/0.8875, allocations: 5.453 MB / 0.9281 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005664/0.8932, allocations: 1.237 MB / 0.9293 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002672/0.8959, allocations: 0.6233 MB / 0.9299 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.8969, allocations: 132.5 kB / 0.93 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003018/0.8999, allocations: 0.7112 MB / 0.9307 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 4.94e-06/0.8999, allocations: 0 / 0.9307 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.008815/0.9087, allocations: 1.89 MB / 0.9326 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.9088, allocations: 60.06 kB / 0.9326 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/0.9114, allocations: 1.26 MB / 0.9339 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.9116, allocations: 45.7 kB / 0.9339 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008335/0.9125, allocations: 0.5996 MB / 0.9345 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/0.9129, allocations: 289.6 kB / 0.9348 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/0.9134, allocations: 182.6 kB / 0.935 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.9136, allocations: 341.9 kB / 0.9353 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.9161, allocations: 0.5328 MB / 0.9358 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002905/0.919, allocations: 0.8252 MB / 0.9366 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00522/0.9242, allocations: 1.321 MB / 0.9379 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/0.9243, allocations: 13.06 kB / 0.9379 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006485/0.9307, allocations: 1.507 MB / 0.9394 GB, free: 3.066 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.9308, allocations: 9.875 kB / 0.9394 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.9308, allocations: 4 kB / 0.9394 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.982e-05/0.9309, allocations: 12 kB / 0.9394 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/0.933, allocations: 291.8 kB / 0.9397 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.378e-05/0.933, allocations: 23.92 kB / 0.9397 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.9351, allocations: 199 kB / 0.9399 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.9352, allocations: 47.98 kB / 0.9399 GB, free: 2.492 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.000858/0.9361, allocations: 351.1 kB / 0.9403 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.9365, allocations: 143.1 kB / 0.9404 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/0.9423, allocations: 1.45 MB / 0.9418 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.9423, allocations: 8 kB / 0.9418 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9423, allocations: 0 / 0.9418 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.9423, allocations: 3.984 kB / 0.9418 GB, free: 0.5352 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008996/0.9513, allocations: 2.805 MB / 0.9446 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.9514, allocations: 4 kB / 0.9446 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.953, allocations: 232.2 kB / 0.9448 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.362e-05/0.953, allocations: 11.94 kB / 0.9448 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.9532, allocations: 19.98 kB / 0.9448 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-05/0.9532, allocations: 11.98 kB / 0.9448 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.9532, allocations: 4 kB / 0.9449 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009225/0.9624, allocations: 2.294 MB / 0.9471 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.9635, allocations: 238.9 kB / 0.9473 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.9638, allocations: 23.94 kB / 0.9473 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/0.9656, allocations: 115.9 kB / 0.9475 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.9658, allocations: 64.44 kB / 0.9475 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.9659, allocations: 39.91 kB / 0.9476 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001766/0.9677, allocations: 0.8725 MB / 0.9484 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9677, allocations: 0 / 0.9484 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001638/0.9693, allocations: 315.7 kB / 0.9487 GB, free: 9.328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (83): * Single equations (assignments): 77 * 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.01128/0.9806, allocations: 3.242 MB / 0.9519 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00531/0.9859, allocations: 1.27 MB / 0.9531 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/0.9859, allocations: 0 / 0.9531 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.9878, allocations: 0.6329 MB / 0.9537 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.991, allocations: 0.5963 MB / 0.9543 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.015, allocations: 11.08 MB / 0.9651 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.016, allocations: 1.183 MB / 0.9663 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001355/1.018, allocations: 342 kB / 0.9666 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/1.019, allocations: 0.4953 MB / 0.9671 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.019, allocations: 0 / 0.9671 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08162/1.1, allocations: 35.13 MB / 1.001 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/17.99, allocations: 0 / 1.001 GB, free: 3.328 MB / 0.7637 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_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_X_wSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.772433814003307] Failed to read output from testmodel.py, exit status != 0: 18.175011786996038 18.199886288 17.338276515 Calling exit ...