Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001008/0.001008, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009784/0.0009784, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.003/1.003, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7744/0.7744, allocations: 154.6 MB / 414.9 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 480.1 MB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.069e-05, allocations: 2.312 kB / 480.1 MB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01074/0.01076, allocations: 13.48 MB / 493.6 MB, free: 9.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00888/0.01964, allocations: 5.145 MB / 498.7 MB, free: 4.211 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.02091, allocations: 91.19 kB / 498.8 MB, free: 4.121 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.0221, allocations: 0.612 MB / 499.4 MB, free: 3.508 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.02465, allocations: 1.573 MB / 0.4893 GB, free: 1.941 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.02739, allocations: 1.537 MB / 0.4908 GB, free: 416 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004768/0.03216, allocations: 3.852 MB / 0.4945 GB, free: 12.54 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.03378, allocations: 0.9895 MB / 0.4955 GB, free: 11.52 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.0365, allocations: 1.849 MB / 0.4973 GB, free: 9.668 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.03821, allocations: 0.9656 MB / 0.4982 GB, free: 8.703 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.03845, allocations: 108 kB / 0.4983 GB, free: 8.598 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.03926, allocations: 328.7 kB / 0.4987 GB, free: 8.277 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.0396, allocations: 422.1 kB / 0.4991 GB, free: 7.863 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007963/0.04039, allocations: 0.5688 MB / 0.4996 GB, free: 7.293 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.04245, allocations: 1.411 MB / 0.501 GB, free: 5.879 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.04246, allocations: 0 / 0.501 GB, free: 5.879 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.04246, allocations: 0 / 0.501 GB, free: 5.879 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.268e-05/0.0425, allocations: 0 / 0.501 GB, free: 5.879 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002294/0.0448, allocations: 1.975 MB / 0.5029 GB, free: 3.863 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.04483, allocations: 12.03 kB / 0.5029 GB, free: 3.852 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.04612, allocations: 0.497 MB / 0.5034 GB, free: 3.363 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.04734, allocations: 1.037 MB / 0.5044 GB, free: 2.289 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.04739, allocations: 82.14 kB / 0.5045 GB, free: 2.207 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.04749, allocations: 108 kB / 0.5046 GB, free: 2.102 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.04889, allocations: 1.118 MB / 0.5057 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.04891, allocations: 7.938 kB / 0.5057 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.04897, allocations: 49.05 kB / 0.5058 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.04899, allocations: 28 kB / 0.5058 GB, free: 0.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.0495, allocations: 423 kB / 0.5062 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.05329, allocations: 5.332 MB / 0.5114 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007926/0.05408, allocations: 0.4896 MB / 0.5119 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.05428, allocations: 166.4 kB / 0.512 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.0545, allocations: 88.44 kB / 0.5121 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006574/0.05516, allocations: 341.8 kB / 0.5124 GB, free: 9.742 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 3.636e-06/0.05516, allocations: 0 / 0.5124 GB, free: 9.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.0007777/0.05594, allocations: 0.5437 MB / 0.513 GB, free: 9.199 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.05598, allocations: 69.48 kB / 0.513 GB, free: 9.121 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.05672, allocations: 1.14 MB / 0.5141 GB, free: 7.961 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.05678, allocations: 45.69 kB / 0.5142 GB, free: 7.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.05704, allocations: 0.5688 MB / 0.5147 GB, free: 7.332 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.05721, allocations: 321.2 kB / 0.5151 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.05741, allocations: 210.7 kB / 0.5153 GB, free: 6.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.0575, allocations: 352.3 kB / 0.5156 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.0577, allocations: 137.4 kB / 0.5157 GB, free: 6.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.05813, allocations: 0.7332 MB / 0.5164 GB, free: 5.371 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.05876, allocations: 0.7291 MB / 0.5171 GB, free: 4.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.05876, allocations: 4 kB / 0.5172 GB, free: 4.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007986/0.05956, allocations: 0.7033 MB / 0.5178 GB, free: 3.797 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.05959, allocations: 18.45 kB / 0.5179 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.0596, allocations: 12 kB / 0.5179 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.05962, allocations: 16 kB / 0.5179 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.06026, allocations: 317 kB / 0.5182 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.06027, allocations: 23.88 kB / 0.5182 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/0.06079, allocations: 151.2 kB / 0.5184 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.06088, allocations: 55.95 kB / 0.5184 GB, free: 3.223 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0002578/0.06113, allocations: 187.3 kB / 0.5186 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.06127, allocations: 123.8 kB / 0.5187 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.06274, allocations: 0.9603 MB / 0.5196 GB, free: 1.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.06275, allocations: 26.14 kB / 0.5197 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.06275, allocations: 0 / 0.5197 GB, free: 1.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.06276, allocations: 7.969 kB / 0.5197 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.06471, allocations: 1.748 MB / 0.5214 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.06472, allocations: 1.188 kB / 0.5214 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.06521, allocations: 190.9 kB / 0.5216 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.06522, allocations: 8 kB / 0.5216 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.06527, allocations: 31.97 kB / 0.5216 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.06527, allocations: 7.938 kB / 0.5216 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.06528, allocations: 4 kB / 0.5216 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.06631, allocations: 0.9956 MB / 0.5226 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.06661, allocations: 234.4 kB / 0.5228 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.06672, allocations: 16 kB / 0.5228 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.06708, allocations: 73.53 kB / 0.5229 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/0.06718, allocations: 73.36 kB / 0.523 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.06724, allocations: 40.89 kB / 0.523 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004424/0.06768, allocations: 0.5729 MB / 0.5236 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.06768, allocations: 0 / 0.5236 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007908/0.06847, allocations: 423.3 kB / 0.524 GB, free: 13.44 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001324/0.06979, allocations: 0.6006 MB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007984/0.07059, allocations: 0.5905 MB / 0.5251 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.031e-05/0.07061, allocations: 18 kB / 0.5251 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.07096, allocations: 323 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.0723, allocations: 0.6375 MB / 0.5261 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.07554, allocations: 2.504 MB / 0.5285 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.07575, allocations: 304.1 kB / 0.5288 GB, free: 8.785 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007997/0.07655, allocations: 303.8 kB / 0.5291 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00098/0.07753, allocations: 0.5516 MB / 0.5296 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/0.07753, allocations: 0 / 0.5296 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of Templates: time 0.03357/0.1111, allocations: 28.01 MB / 0.557 GB, free: 12.71 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.363306724000722]