Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007829/0.0007829, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.000842/0.000842, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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 0.9207/0.9207, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7892/0.7892, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") [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.001023/0.001023, allocations: 72.92 kB / 0.7194 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6184/0.6194, allocations: 102 MB / 0.8191 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2007/0.8201, allocations: 214.7 MB / 1.029 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.831, allocations: 8.071 MB / 1.037 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001712/0.8327, allocations: 99.12 kB / 1.037 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.8346, allocations: 1.045 MB / 1.038 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.006044/0.8407, allocations: 3.224 MB / 1.041 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005984/0.8467, allocations: 3.539 MB / 1.044 GB, free: 14.13 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004161/0.8508, allocations: 4.042 MB / 1.048 GB, free: 10.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.8522, allocations: 1.129 MB / 1.049 GB, free: 8.906 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.8556, allocations: 2.351 MB / 1.052 GB, free: 6.547 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.857, allocations: 1.412 MB / 1.053 GB, free: 5.129 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.8573, allocations: 136 kB / 1.053 GB, free: 4.996 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004884/0.8622, allocations: 3.183 MB / 1.056 GB, free: 1.805 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.8627, allocations: 0.6307 MB / 1.057 GB, free: 1.172 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007919/0.8635, allocations: 0.8357 MB / 1.058 GB, free: 340 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.8685, allocations: 3.784 MB / 1.061 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8685, allocations: 0 / 1.061 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8685, allocations: 0 / 1.061 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.384e-05/0.8685, allocations: 4 kB / 1.061 GB, free: 12.53 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004156/0.8727, allocations: 2.678 MB / 1.064 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.8727, allocations: 12.03 kB / 1.064 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/0.8771, allocations: 1.325 MB / 1.065 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.8788, allocations: 1.17 MB / 1.066 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.981e-05/0.8789, allocations: 110.5 kB / 1.067 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.8791, allocations: 128 kB / 1.067 GB, free: 7.012 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/0.882, allocations: 2.082 MB / 1.069 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.882, allocations: 7.938 kB / 1.069 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.944e-05/0.8821, allocations: 55.98 kB / 1.069 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.8821, allocations: 58.47 kB / 1.069 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003287/0.8854, allocations: 2.187 MB / 1.071 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006763/0.8922, allocations: 6.241 MB / 1.077 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/0.895, allocations: 1.808 MB / 1.079 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.8963, allocations: 0.9445 MB / 1.08 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00054/0.8969, allocations: 204.8 kB / 1.08 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001578/0.8984, allocations: 1.055 MB / 1.081 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=119): time 4.128e-06/0.8985, allocations: 4 kB / 1.081 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119): time 0.004924/0.9034, allocations: 2.884 MB / 1.084 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.9034, allocations: 68.39 kB / 1.084 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.9047, allocations: 1.375 MB / 1.085 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.945e-05/0.9048, allocations: 49.7 kB / 1.085 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.9054, allocations: 0.8351 MB / 1.086 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.9057, allocations: 436.3 kB / 1.087 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.9059, allocations: 238.8 kB / 1.087 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9061, allocations: 353.9 kB / 1.087 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.9074, allocations: 0.83 MB / 1.088 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.9092, allocations: 1.376 MB / 1.089 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.912, allocations: 1.934 MB / 1.091 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.912, allocations: 7.938 kB / 1.091 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00329/0.9153, allocations: 2.179 MB / 1.093 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.9153, allocations: 12 kB / 1.093 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.9153, allocations: 8 kB / 1.093 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.9153, allocations: 15.94 kB / 1.093 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.9165, allocations: 411.9 kB / 1.094 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.9165, allocations: 19.94 kB / 1.094 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.9175, allocations: 251 kB / 1.094 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.9176, allocations: 63.97 kB / 1.094 GB, free: 10.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0005951/0.9182, allocations: 399.3 kB / 1.094 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.9184, allocations: 170.9 kB / 1.095 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/0.9218, allocations: 2.208 MB / 1.097 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.9218, allocations: 15.94 kB / 1.097 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.9218, allocations: 0 / 1.097 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.9218, allocations: 3.984 kB / 1.097 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/0.9274, allocations: 4.176 MB / 1.101 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.9274, allocations: 15.88 kB / 1.101 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009625/0.9284, allocations: 347.6 kB / 1.101 GB, free: 2.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-05/0.9284, allocations: 12 kB / 1.101 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.9285, allocations: 43.91 kB / 1.101 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.9285, allocations: 19.92 kB / 1.101 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.9285, allocations: 11.94 kB / 1.101 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/0.9334, allocations: 3.476 MB / 1.105 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.9339, allocations: 310.5 kB / 1.105 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.9341, allocations: 39.98 kB / 1.105 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.9348, allocations: 171.7 kB / 1.105 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.935, allocations: 108.6 kB / 1.105 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/0.9351, allocations: 51.97 kB / 1.105 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009241/0.936, allocations: 0.928 MB / 1.106 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.936, allocations: 4 kB / 1.106 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001331/0.9373, allocations: 0.5147 MB / 1.107 GB, free: 13.16 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (125): * Single equations (assignments): 119 * 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.001289/0.9386, allocations: 0.6005 MB / 1.107 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00316/0.9418, allocations: 1.919 MB / 1.109 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9418, allocations: 0 / 1.109 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.9434, allocations: 0.983 MB / 1.11 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.9452, allocations: 0.7173 MB / 1.111 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/0.9526, allocations: 4.357 MB / 1.115 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006497/0.9532, allocations: 0.8066 MB / 1.116 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/0.9537, allocations: 163.3 kB / 1.116 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of SimCode: time 1.853e-06/0.9537, allocations: 0 / 1.116 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of Templates: time 0.0304/0.9841, allocations: 28.52 MB / 1.144 GB, free: 7.359 MB / 0.9167 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.014845711179078] Failed to read output from testmodel.py, exit status != 0: 0.9902977938763797 1.38217486 0.511520124 Calling exit ...