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.001397/0.001397, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001737/0.001737, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.442/1.442, allocations: 230.6 MB / 256 MB, free: 8.035 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.8444/0.8444, allocations: 134 MB / 446.4 MB, free: 10.26 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.001928/0.001928, allocations: 70.41 kB / 0.6186 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1823, allocations: 85.91 MB / 0.7025 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6937/0.8761, allocations: 197.8 MB / 0.8957 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01167/0.8877, allocations: 5.28 MB / 0.9008 GB, free: 11.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.8896, allocations: 71.31 kB / 0.9009 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.892, allocations: 0.8354 MB / 0.9017 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008177/0.9002, allocations: 2.786 MB / 0.9044 GB, free: 7.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0032/0.9034, allocations: 1.059 MB / 0.9055 GB, free: 6.719 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004926/0.9083, allocations: 2.746 MB / 0.9081 GB, free: 3.965 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.9102, allocations: 0.7657 MB / 0.9089 GB, free: 3.191 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.9129, allocations: 1.176 MB / 0.91 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.9152, allocations: 1.066 MB / 0.9111 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.9156, allocations: 88 kB / 0.9112 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004453/0.92, allocations: 1.948 MB / 0.9131 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007685/0.9208, allocations: 466.4 kB / 0.9135 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.9222, allocations: 0.6798 MB / 0.9142 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005076/0.9273, allocations: 2.249 MB / 0.9164 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.9273, allocations: 0 / 0.9164 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9273, allocations: 0 / 0.9164 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.27e-05/0.9274, allocations: 4 kB / 0.9164 GB, free: 11.5 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.00624/0.9336, allocations: 1.95 MB / 0.9183 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9337, allocations: 12.03 kB / 0.9183 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002852/0.934, allocations: 143.6 kB / 0.9184 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005573/0.9395, allocations: 0.9002 MB / 0.9193 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.9418, allocations: 0.9095 MB / 0.9202 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/0.9419, allocations: 73.98 kB / 0.9203 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002241/0.9421, allocations: 91.98 kB / 0.9203 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.946, allocations: 1.579 MB / 0.9219 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.9461, allocations: 7.938 kB / 0.9219 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.9462, allocations: 36 kB / 0.9219 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.9462, allocations: 49.98 kB / 0.922 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005474/0.9517, allocations: 1.85 MB / 0.9238 GB, free: 3.77 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.009208/0.9609, allocations: 4.7 MB / 0.9284 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004555/0.9655, allocations: 1.524 MB / 0.9299 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/0.9678, allocations: 0.8078 MB / 0.9307 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.9688, allocations: 200.8 kB / 0.9308 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002598/0.9714, allocations: 0.9105 MB / 0.9317 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=95): time 3.647e-06/0.9714, allocations: 0 / 0.9317 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95): time 0.007941/0.9794, allocations: 2.463 MB / 0.9341 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.9794, allocations: 60.41 kB / 0.9342 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.9814, allocations: 1.226 MB / 0.9354 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.9815, allocations: 53.7 kB / 0.9354 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005828/0.9821, allocations: 0.5535 MB / 0.936 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/0.9825, allocations: 337.1 kB / 0.9363 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.9829, allocations: 190.6 kB / 0.9365 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9831, allocations: 341.9 kB / 0.9368 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.9853, allocations: 0.7005 MB / 0.9375 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002429/0.9877, allocations: 0.9151 MB / 0.9384 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/0.9921, allocations: 1.554 MB / 0.9399 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.9921, allocations: 0 / 0.9399 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005189/0.9973, allocations: 1.785 MB / 0.9417 GB, free: 1.035 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.9973, allocations: 8 kB / 0.9417 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.9973, allocations: 4 kB / 0.9417 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.9974, allocations: 8 kB / 0.9417 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.9992, allocations: 347.5 kB / 0.942 GB, free: 0.6758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.9992, allocations: 8 kB / 0.942 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/1.001, allocations: 243 kB / 0.9422 GB, free: 440 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.001, allocations: 47.97 kB / 0.9423 GB, free: 392 kB / 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.0007219/1.002, allocations: 343.3 kB / 0.9426 GB, free: 44 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/1.002, allocations: 139.3 kB / 0.9427 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/1.008, allocations: 1.844 MB / 0.9445 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.008, allocations: 12 kB / 0.9446 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.008, allocations: 0 / 0.9446 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.008, allocations: 7.969 kB / 0.9446 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007928/1.015, allocations: 3.332 MB / 0.9478 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.015, allocations: 4 kB / 0.9478 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.017, allocations: 291.8 kB / 0.9481 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/1.017, allocations: 8 kB / 0.9481 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/1.017, allocations: 40 kB / 0.9481 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/1.017, allocations: 11.94 kB / 0.9482 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.017, allocations: 7.938 kB / 0.9482 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00748/1.025, allocations: 2.876 MB / 0.951 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/1.025, allocations: 254.8 kB / 0.9512 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/1.026, allocations: 20 kB / 0.9512 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.027, allocations: 155.8 kB / 0.9514 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/1.027, allocations: 80.41 kB / 0.9515 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/1.028, allocations: 35.97 kB / 0.9515 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001297/1.029, allocations: 0.8556 MB / 0.9523 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/1.029, allocations: 0 / 0.9523 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001184/1.03, allocations: 355.6 kB / 0.9527 GB, free: 5.566 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 (98): * Single equations (assignments): 92 * 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.009527/1.04, allocations: 3.834 MB / 0.9564 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004796/1.044, allocations: 1.599 MB / 0.958 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.044, allocations: 0 / 0.958 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.047, allocations: 0.8125 MB / 0.9588 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/1.05, allocations: 0.6288 MB / 0.9594 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/1.075, allocations: 12.19 MB / 0.9713 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009923/1.076, allocations: 1.195 MB / 0.9725 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001386/1.077, allocations: 366.2 kB / 0.9728 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008978/1.078, allocations: 0.511 MB / 0.9733 GB, free: 224 kB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/1.078, allocations: 0 / 0.9733 GB, free: 224 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09425/1.173, allocations: 36.93 MB / 1.009 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.64, allocations: 6.172 kB / 1.009 GB, free: 11.57 MB / 0.7794 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 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: 21.429704512935132] Failed to read output from testmodel.py, exit status != 0: 17.834558092989028 17.866903821 16.933757342 Calling exit ...