Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001866/0.001866, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002325/0.002325, allocations: 213.5 kB / 22.25 MB, free: 5.242 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.46/1.46, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.23/1.23, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [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.002146/0.002146, allocations: 71.91 kB / 0.7187 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5379, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2811/0.8191, allocations: 214.7 MB / 1.028 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.835, allocations: 8.068 MB / 1.036 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.8374, allocations: 91.19 kB / 1.036 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003109/0.8405, allocations: 1.048 MB / 1.037 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.8505, allocations: 3.224 MB / 1.04 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009851/0.8604, allocations: 3.536 MB / 1.044 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006514/0.8669, allocations: 3.968 MB / 1.047 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.8694, allocations: 1.1 MB / 1.049 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006288/0.8756, allocations: 2.324 MB / 1.051 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.8785, allocations: 1.369 MB / 1.052 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003703/0.8788, allocations: 128 kB / 1.052 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007668/0.8865, allocations: 3.179 MB / 1.055 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.8876, allocations: 0.6151 MB / 1.056 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.889, allocations: 0.8123 MB / 1.057 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007896/0.8969, allocations: 3.729 MB / 1.06 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8969, allocations: 0 / 1.06 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8969, allocations: 0 / 1.06 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.725e-05/0.8969, allocations: 0 / 1.06 GB, free: 13.69 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.00748/0.9044, allocations: 2.648 MB / 1.063 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.9045, allocations: 13.47 kB / 1.063 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007651/0.9121, allocations: 1.095 MB / 1.064 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.9153, allocations: 1.154 MB / 1.065 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.597e-05/0.9154, allocations: 94.56 kB / 1.065 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.9157, allocations: 132 kB / 1.065 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/0.9203, allocations: 1.988 MB / 1.067 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/0.9203, allocations: 3.938 kB / 1.067 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.9205, allocations: 56 kB / 1.067 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.971e-05/0.9206, allocations: 62.3 kB / 1.067 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005162/0.9257, allocations: 1.882 MB / 1.069 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.9374, allocations: 6.965 MB / 1.076 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/0.942, allocations: 1.546 MB / 1.078 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.944, allocations: 0.7625 MB / 1.078 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/0.9447, allocations: 132.9 kB / 1.078 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002248/0.947, allocations: 0.8637 MB / 1.079 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=104): time 3.867e-06/0.947, allocations: 0 / 1.079 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=104): time 0.007129/0.9541, allocations: 2.322 MB / 1.082 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.9542, allocations: 64.34 kB / 1.082 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.9564, allocations: 1.429 MB / 1.083 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.9565, allocations: 45.7 kB / 1.083 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008644/0.9574, allocations: 0.8775 MB / 1.084 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000426/0.9578, allocations: 376.8 kB / 1.084 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/0.9583, allocations: 242.8 kB / 1.085 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.9585, allocations: 361.8 kB / 1.085 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/0.9604, allocations: 0.6739 MB / 1.086 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.9629, allocations: 1.28 MB / 1.087 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.9672, allocations: 1.723 MB / 1.088 GB, free: 8 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9672, allocations: 0 / 1.088 GB, free: 8 kB / 0.8575 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005134/0.9723, allocations: 1.913 MB / 1.09 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.9724, allocations: 12.97 kB / 1.09 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.9724, allocations: 8 kB / 1.09 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.022e-05/0.9724, allocations: 27.94 kB / 1.09 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.9743, allocations: 355.4 kB / 1.091 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.958e-05/0.9743, allocations: 27.92 kB / 1.091 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.976, allocations: 219 kB / 1.091 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.9762, allocations: 63.97 kB / 1.091 GB, free: 13.39 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (157): * Single equations (assignments): 157 * 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.0008311/0.977, allocations: 408.2 kB / 1.091 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.9774, allocations: 166.9 kB / 1.092 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005019/0.9824, allocations: 1.826 MB / 1.093 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.9824, allocations: 8 kB / 1.093 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.9824, allocations: 0 / 1.093 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.9824, allocations: 7.984 kB / 1.093 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009167/0.9916, allocations: 3.679 MB / 1.097 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.9916, allocations: 4.875 kB / 1.097 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/0.9933, allocations: 275.6 kB / 1.097 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.799e-05/0.9933, allocations: 8 kB / 1.097 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.9934, allocations: 43.97 kB / 1.097 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.9935, allocations: 19.88 kB / 1.097 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/0.9935, allocations: 15.92 kB / 1.097 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007186/1.001, allocations: 2.911 MB / 1.1 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009619/1.002, allocations: 286.6 kB / 1.1 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/1.002, allocations: 39.92 kB / 1.1 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.003, allocations: 123.8 kB / 1.101 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.003, allocations: 88.48 kB / 1.101 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.004, allocations: 51.97 kB / 1.101 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001472/1.005, allocations: 0.9527 MB / 1.102 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/1.005, allocations: 0 / 1.102 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001691/1.007, allocations: 0.4952 MB / 1.102 GB, free: 1.766 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (110): * Single equations (assignments): 104 * 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.002138/1.009, allocations: 0.5996 MB / 1.103 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004739/1.014, allocations: 1.589 MB / 1.104 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.014, allocations: 4 kB / 1.104 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/1.016, allocations: 0.7859 MB / 1.105 GB, free: 15 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/1.019, allocations: 0.687 MB / 1.106 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.031, allocations: 3.898 MB / 1.11 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009535/1.032, allocations: 0.7939 MB / 1.11 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00172/1.034, allocations: 411.9 kB / 1.111 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/1.034, allocations: 139.3 kB / 1.111 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of SimCode: time 1.162e-06/1.034, allocations: 0 / 1.111 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of Templates: time 0.4267/1.461, allocations: 31.05 MB / 1.141 GB, free: 267.6 MB / 0.8887 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.574204754084349] Failed to read output from testmodel.py, exit status != 0: 1.4698452912271023 1.480462138 0.5808127169999999 Calling exit ...