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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 110 kB / 18.94 MB, free: 2.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 192.7 kB / 22.23 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.127/1.127, allocations: 177.9 MB / 484.2 MB, free: 5.383 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 73.67 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.574, allocations: 95.16 MB / 0.767 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3174/0.8914, allocations: 243.4 MB / 1.005 GB, free: 14.93 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01661/0.908, allocations: 8.498 MB / 1.013 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.911, allocations: 95.12 kB / 1.013 GB, free: 6.312 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004392/0.9154, allocations: 1.08 MB / 1.014 GB, free: 5.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.9266, allocations: 3.216 MB / 1.017 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0111/0.9377, allocations: 3.743 MB / 1.021 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007808/0.9455, allocations: 4.05 MB / 1.025 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.9484, allocations: 1.145 MB / 1.026 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006562/0.955, allocations: 2.34 MB / 1.028 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003574/0.9586, allocations: 1.471 MB / 1.03 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005017/0.9591, allocations: 140 kB / 1.03 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009554/0.9686, allocations: 4.263 MB / 1.034 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.9699, allocations: 0.6229 MB / 1.035 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.9727, allocations: 1.007 MB / 1.036 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.9851, allocations: 3.904 MB / 1.039 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.9851, allocations: 4 kB / 1.039 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9851, allocations: 0 / 1.039 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001222/0.9852, allocations: 3.938 kB / 1.039 GB, free: 11.21 MB / 0.8262 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.008839/0.9941, allocations: 2.67 MB / 1.042 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.9941, allocations: 8.031 kB / 1.042 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009386/1.004, allocations: 1.333 MB / 1.043 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/1.008, allocations: 1.191 MB / 1.044 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/1.008, allocations: 102.5 kB / 1.045 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/1.008, allocations: 132 kB / 1.045 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006227/1.015, allocations: 2.072 MB / 1.047 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/1.015, allocations: 0 / 1.047 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/1.015, allocations: 59.97 kB / 1.047 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.1e-05/1.015, allocations: 66.47 kB / 1.047 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006668/1.022, allocations: 2.18 MB / 1.049 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/1.036, allocations: 8.311 MB / 1.057 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005493/1.042, allocations: 1.803 MB / 1.059 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/1.044, allocations: 0.9289 MB / 1.06 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/1.045, allocations: 208.7 kB / 1.06 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003077/1.048, allocations: 1.055 MB / 1.061 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=119): time 4.488e-06/1.048, allocations: 0 / 1.061 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of matching and sorting (n=119): time 0.009466/1.058, allocations: 2.88 MB / 1.064 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/1.058, allocations: 64.41 kB / 1.064 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/1.061, allocations: 1.623 MB / 1.065 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/1.061, allocations: 53.64 kB / 1.065 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/1.062, allocations: 0.8092 MB / 1.066 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005915/1.062, allocations: 436.3 kB / 1.067 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005571/1.063, allocations: 234.9 kB / 1.067 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.063, allocations: 353.9 kB / 1.067 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/1.066, allocations: 0.8261 MB / 1.068 GB, free: 13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/1.069, allocations: 1.139 MB / 1.069 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005624/1.074, allocations: 1.922 MB / 1.071 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/1.074, allocations: 8 kB / 1.071 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006688/1.081, allocations: 2.198 MB / 1.073 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.081, allocations: 10.34 kB / 1.073 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.081, allocations: 8 kB / 1.073 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/1.081, allocations: 12 kB / 1.073 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/1.083, allocations: 412 kB / 1.074 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.9e-05/1.084, allocations: 19.98 kB / 1.074 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.086, allocations: 286.6 kB / 1.074 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.086, allocations: 67.97 kB / 1.074 GB, free: 6.703 MB / 0.8575 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.0009679/1.087, allocations: 395.4 kB / 1.074 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000597/1.088, allocations: 206.7 kB / 1.075 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006562/1.094, allocations: 2.183 MB / 1.077 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.094, allocations: 15.94 kB / 1.077 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.094, allocations: 0 / 1.077 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/1.094, allocations: 7.969 kB / 1.077 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.105, allocations: 4.458 MB / 1.081 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/1.105, allocations: 8 kB / 1.081 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.107, allocations: 344.3 kB / 1.081 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/1.107, allocations: 8 kB / 1.081 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/1.107, allocations: 43.97 kB / 1.081 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791e-05/1.107, allocations: 12 kB / 1.081 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/1.107, allocations: 23.84 kB / 1.081 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009211/1.117, allocations: 3.462 MB / 1.085 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.118, allocations: 350.3 kB / 1.085 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005194/1.118, allocations: 31.98 kB / 1.085 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/1.12, allocations: 167.8 kB / 1.085 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/1.121, allocations: 104.7 kB / 1.085 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.121, allocations: 47.97 kB / 1.086 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002124/1.123, allocations: 1.122 MB / 1.087 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/1.123, allocations: 0 / 1.087 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001938/1.125, allocations: 487.5 kB / 1.087 GB, free: 9.023 MB / 0.8731 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 (122): * Single equations (assignments): 116 * 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.127, allocations: 0.5779 MB / 1.088 GB, free: 8.602 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006088/1.133, allocations: 1.911 MB / 1.09 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.133, allocations: 0 / 1.09 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.136, allocations: 0.9635 MB / 1.09 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004937/1.141, allocations: 0.9609 MB / 1.091 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.154, allocations: 4.299 MB / 1.096 GB, free: 376 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.421/1.575, allocations: 1.379 MB / 1.097 GB, free: 295.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002518/1.577, allocations: 474.7 kB / 1.097 GB, free: 295.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/1.578, allocations: 150.9 kB / 1.098 GB, free: 295.1 MB / 0.8731 GB Notification: Performance of SimCode: time 1.282e-06/1.578, allocations: 1.094 kB / 1.098 GB, free: 295.1 MB / 0.8731 GB Notification: Performance of Templates: time 0.07995/1.658, allocations: 35.73 MB / 1.132 GB, free: 284.6 MB / 0.8731 GB " [Timeout remaining time 658] 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: 8.884902905672789] Failed to read output from testmodel.py, exit status != 0: 1.6682298090308905 1.683629408 0.695367129 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd1562397b0>