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.001452/0.001452, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001739/0.001739, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.965 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.8906/0.8906, allocations: 134 MB / 446.4 MB, free: 10.2 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.001941/0.001941, allocations: 71.27 kB / 0.6186 GB, free: 7.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1906, allocations: 85.9 MB / 0.7025 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6571/0.8476, allocations: 197.8 MB / 0.8957 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.8581, allocations: 5.269 MB / 0.9008 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.8598, allocations: 67.38 kB / 0.9009 GB, free: 11.21 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.8621, allocations: 0.8431 MB / 0.9017 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007356/0.8695, allocations: 2.774 MB / 0.9044 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.8724, allocations: 1.055 MB / 0.9055 GB, free: 6.523 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004085/0.8765, allocations: 2.68 MB / 0.9081 GB, free: 3.836 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.878, allocations: 0.7213 MB / 0.9088 GB, free: 3.102 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.8806, allocations: 1.148 MB / 0.9099 GB, free: 1.949 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.8825, allocations: 1.023 MB / 0.9109 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.8828, allocations: 80 kB / 0.911 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004061/0.8869, allocations: 1.94 MB / 0.9129 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006964/0.8876, allocations: 450.4 kB / 0.9133 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.8888, allocations: 0.6604 MB / 0.9139 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004623/0.8934, allocations: 2.187 MB / 0.9161 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.8935, allocations: 8 kB / 0.9161 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8935, allocations: 0 / 0.9161 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.288e-05/0.8935, allocations: 0 / 0.9161 GB, free: 11.59 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.005908/0.8994, allocations: 1.926 MB / 0.918 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.8995, allocations: 12.02 kB / 0.918 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002636/0.8997, allocations: 139.5 kB / 0.9181 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/0.9038, allocations: 0.6701 MB / 0.9188 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.9061, allocations: 0.8784 MB / 0.9196 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.9062, allocations: 69.94 kB / 0.9197 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.9065, allocations: 84 kB / 0.9198 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/0.9101, allocations: 1.474 MB / 0.9212 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.9101, allocations: 7.984 kB / 0.9212 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.9102, allocations: 39.92 kB / 0.9213 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-05/0.9103, allocations: 53.92 kB / 0.9213 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004328/0.9146, allocations: 1.518 MB / 0.9228 GB, free: 4.547 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.009099/0.9237, allocations: 5.443 MB / 0.9281 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003816/0.9275, allocations: 1.241 MB / 0.9293 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/0.9293, allocations: 0.6215 MB / 0.9299 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.93, allocations: 140.5 kB / 0.9301 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.932, allocations: 0.6991 MB / 0.9307 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 3.166e-06/0.932, allocations: 4 kB / 0.9307 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.005833/0.9378, allocations: 1.89 MB / 0.9326 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.9379, allocations: 64.05 kB / 0.9327 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.9398, allocations: 1.26 MB / 0.9339 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.9399, allocations: 45.7 kB / 0.9339 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/0.9405, allocations: 0.5996 MB / 0.9345 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.9409, allocations: 289.6 kB / 0.9348 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/0.9412, allocations: 182.6 kB / 0.935 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.9414, allocations: 341.9 kB / 0.9353 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.9431, allocations: 0.5367 MB / 0.9358 GB, free: 6.863 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.9451, allocations: 0.8174 MB / 0.9366 GB, free: 5.93 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003599/0.9487, allocations: 1.328 MB / 0.9379 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.9487, allocations: 0 / 0.9379 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004371/0.9531, allocations: 1.503 MB / 0.9394 GB, free: 2.992 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.9531, allocations: 15.94 kB / 0.9394 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.9531, allocations: 4 kB / 0.9394 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/0.9531, allocations: 15.98 kB / 0.9394 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.9547, allocations: 299.9 kB / 0.9397 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.9547, allocations: 23.88 kB / 0.9397 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.9562, allocations: 199 kB / 0.9399 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.9564, allocations: 51.97 kB / 0.94 GB, free: 2.398 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.0007229/0.9571, allocations: 343.4 kB / 0.9403 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/0.9575, allocations: 143.1 kB / 0.9404 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.9618, allocations: 1.438 MB / 0.9418 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/0.9618, allocations: 15.98 kB / 0.9418 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.9618, allocations: 0 / 0.9418 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.9618, allocations: 3.984 kB / 0.9418 GB, free: 460 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008114/0.9699, allocations: 2.809 MB / 0.9446 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/0.97, allocations: 4 kB / 0.9446 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/0.9722, allocations: 232.2 kB / 0.9448 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/0.9722, allocations: 4 kB / 0.9448 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/0.9724, allocations: 27.97 kB / 0.9448 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.131e-05/0.9724, allocations: 11.94 kB / 0.9449 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/0.9724, allocations: 4 kB / 0.9449 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.9826, allocations: 2.298 MB / 0.9471 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.9838, allocations: 234.8 kB / 0.9473 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/0.9843, allocations: 23.98 kB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.986, allocations: 111.9 kB / 0.9475 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.9863, allocations: 64.42 kB / 0.9475 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.9864, allocations: 39.97 kB / 0.9476 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001536/0.9879, allocations: 0.8725 MB / 0.9484 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9879, allocations: 0 / 0.9484 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001393/0.9893, allocations: 315.7 kB / 0.9487 GB, free: 9.242 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.008279/0.9976, allocations: 3.255 MB / 0.9519 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004007/1.002, allocations: 1.262 MB / 0.9531 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.002, allocations: 0 / 0.9531 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/1.004, allocations: 0.6331 MB / 0.9537 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/1.007, allocations: 0.5882 MB / 0.9543 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/1.031, allocations: 11.08 MB / 0.9651 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.032, allocations: 1.183 MB / 0.9663 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001328/1.033, allocations: 346 kB / 0.9666 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008704/1.034, allocations: 0.4953 MB / 0.9671 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/1.034, allocations: 0 / 0.9671 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09477/1.129, allocations: 35.12 MB / 1.001 GB, free: 3.246 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/17.84, allocations: 6.5 kB / 1.001 GB, free: 3.242 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 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.73967377305962] Failed to read output from testmodel.py, exit status != 0: 18.0205553190317 18.03748463 17.140639269 Calling exit ...