Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.0008172/0.0008172, allocations: 80.44 kB / 19.91 MB, free: 4 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.001309/0.001309, allocations: 169.6 kB / 23.19 MB, free: 1.371 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 0.8589/0.8589, allocations: 177.2 MB / 203.6 MB, free: 5.789 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-531:686: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-531:694: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.7007/0.7007, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank") [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.0008912/0.0008912, allocations: 67.91 kB / 0.6195 GB, free: 13.15 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4468, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.06939/0.5162, allocations: 99.14 MB / 0.8159 GB, free: 14.76 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1473/0.6634, allocations: 164.6 MB / 0.9767 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006854/0.6703, allocations: 218.2 kB / 0.9769 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.007645/0.6779, allocations: 3.266 MB / 0.9801 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.6908, allocations: 5.807 MB / 0.9857 GB, free: 256 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.009636/0.7004, allocations: 5.12 MB / 0.9907 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.772/1.472, allocations: 34.08 MB / 1.024 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01402/1.486, allocations: 10.75 MB / 1.034 GB, free: 26.6 MB / 0.9012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02677/1.513, allocations: 16.36 MB / 1.05 GB, free: 26.58 MB / 0.9012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01766/1.531, allocations: 9.669 MB / 1.06 GB, free: 25.08 MB / 0.9012 GB Notification: Performance of NFPackage.collectConstants: time 0.005255/1.536, allocations: 1.59 MB / 1.061 GB, free: 25.08 MB / 0.9012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/1.546, allocations: 4.086 MB / 1.065 GB, free: 25.08 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.002986/1.549, allocations: 4.023 MB / 1.069 GB, free: 24.52 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.008777/1.558, allocations: 6.205 MB / 1.075 GB, free: 23.1 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.02026/1.578, allocations: 24.26 MB / 1.099 GB, free: 20.57 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.578, allocations: 0.75 kB / 1.099 GB, free: 20.57 MB / 0.9012 GB Notification: Performance of FrontEnd: time 1.724e-06/1.578, allocations: 0 / 1.099 GB, free: 20.57 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.0005571/1.579, allocations: 0.75 kB / 1.099 GB, free: 20.57 MB / 0.9012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2329 * Number of variables: 2329 Notification: Performance of Generate backend data structure: time 0.02236/1.601, allocations: 14.73 MB / 1.114 GB, free: 14.79 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.601, allocations: 8.969 kB / 1.114 GB, free: 14.79 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/1.612, allocations: 3.333 MB / 1.117 GB, free: 13.34 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.63, allocations: 12.02 MB / 1.129 GB, free: 9.57 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/1.63, allocations: 0.6799 MB / 1.129 GB, free: 9.551 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002183/1.632, allocations: 0.9046 MB / 1.13 GB, free: 9.539 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/1.653, allocations: 15.08 MB / 1.145 GB, free: 3.5 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/1.653, allocations: 23.36 kB / 1.145 GB, free: 3.496 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007736/1.654, allocations: 381 kB / 1.145 GB, free: 3.215 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/1.654, allocations: 378.7 kB / 1.146 GB, free: 3.164 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01663/1.671, allocations: 12.68 MB / 1.158 GB, free: 12.77 MB / 0.9168 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.0485/1.719, allocations: 39.36 MB / 1.196 GB, free: 6.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/1.73, allocations: 8.985 MB / 1.205 GB, free: 13.92 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005339/1.736, allocations: 4.486 MB / 1.21 GB, free: 9.414 MB / 0.9637 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 evalFunc (simulation): time 0.02314/1.759, allocations: 15.88 MB / 1.225 GB, free: 9.703 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006198/1.765, allocations: 6.006 MB / 1.231 GB, free: 3.285 MB / 0.9793 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002685/1.768, allocations: 0.4959 MB / 1.231 GB, free: 2.789 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=595): time 1.443e-05/1.768, allocations: 0 / 1.231 GB, free: 2.789 MB / 0.9793 GB Notification: Performance of matching and sorting (n=595): time 0.01697/1.785, allocations: 11.65 MB / 1.243 GB, free: 7.055 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.785, allocations: 296 kB / 1.243 GB, free: 6.707 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.795, allocations: 8.414 MB / 1.251 GB, free: 14.31 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009873/1.796, allocations: 153.7 kB / 1.251 GB, free: 14.15 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00383/1.8, allocations: 5.109 MB / 1.256 GB, free: 9.039 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.802, allocations: 2.117 MB / 1.258 GB, free: 6.949 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/1.804, allocations: 1.473 MB / 1.26 GB, free: 5.473 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/1.804, allocations: 305.1 kB / 1.26 GB, free: 5.172 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00548/1.809, allocations: 4.275 MB / 1.264 GB, free: 0.8828 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006342/1.816, allocations: 6.467 MB / 1.271 GB, free: 9.641 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.828, allocations: 10.13 MB / 1.281 GB, free: 14.98 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.349e-05/1.828, allocations: 15.84 kB / 1.281 GB, free: 14.97 MB / 1.042 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.016/1.844, allocations: 11.51 MB / 1.292 GB, free: 3.672 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.698e-05/1.844, allocations: 67.56 kB / 1.292 GB, free: 3.602 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/1.844, allocations: 48 kB / 1.292 GB, free: 3.555 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.804e-05/1.844, allocations: 80 kB / 1.292 GB, free: 3.477 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004347/1.848, allocations: 1.866 MB / 1.294 GB, free: 1.715 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.417e-05/1.848, allocations: 110.3 kB / 1.294 GB, free: 1.625 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005541/1.854, allocations: 0.5968 MB / 1.295 GB, free: 1.027 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/1.854, allocations: 347.8 kB / 1.295 GB, free: 0.6875 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01085/1.865, allocations: 7.41 MB / 1.302 GB, free: 9.262 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006749/1.872, allocations: 6.459 MB / 1.308 GB, free: 2.023 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0116/1.884, allocations: 10.11 MB / 1.318 GB, free: 7.398 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.573e-05/1.884, allocations: 12 kB / 1.318 GB, free: 7.387 MB / 1.073 GB Notification: Performance of matching and sorting (n=941) (initialization_lambda0): time 0.01542/1.899, allocations: 11.48 MB / 1.329 GB, free: 12.11 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/1.899, allocations: 61.69 kB / 1.33 GB, free: 12.04 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.095e-05/1.899, allocations: 44 kB / 1.33 GB, free: 12 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.648e-05/1.899, allocations: 87.38 kB / 1.33 GB, free: 11.92 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/1.903, allocations: 1.859 MB / 1.331 GB, free: 10.16 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.902e-05/1.904, allocations: 120 kB / 1.332 GB, free: 10.06 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005431/1.909, allocations: 0.5872 MB / 1.332 GB, free: 9.477 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006432/1.91, allocations: 351.8 kB / 1.333 GB, free: 9.133 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 31 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (931): * Single equations (assignments): 929 * Array equations: 1 * Algorithm blocks: 1 * 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.001433/1.911, allocations: 0.6293 MB / 1.333 GB, free: 8.605 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002416/1.913, allocations: 0.881 MB / 1.334 GB, free: 7.719 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.927, allocations: 9.726 MB / 1.343 GB, free: 13.95 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009759/1.937, allocations: 7.791 MB / 1.351 GB, free: 6.043 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.937, allocations: 4 kB / 1.351 GB, free: 6.039 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00485/1.942, allocations: 1.997 MB / 1.353 GB, free: 4.039 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/1.943, allocations: 143.9 kB / 1.353 GB, free: 3.898 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/1.947, allocations: 495.3 kB / 1.354 GB, free: 3.414 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006652/1.948, allocations: 400.2 kB / 1.354 GB, free: 3.02 MB / 1.104 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0128/1.96, allocations: 9.044 MB / 1.363 GB, free: 10 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01866/1.979, allocations: 14.46 MB / 1.377 GB, free: 11.42 MB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0047/1.984, allocations: 3.935 MB / 1.381 GB, free: 7.457 MB / 1.136 GB Notification: Performance of sorting global known variables: time 0.007712/1.992, allocations: 5.785 MB / 1.386 GB, free: 1.703 MB / 1.136 GB Notification: Performance of Backend: time 6.61e-07/1.992, allocations: 0 / 1.386 GB, free: 1.703 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.0217/2.013, allocations: 12.74 MB / 1.399 GB, free: 5.734 MB / 1.151 GB Notification: Performance of SimCode: time 0.03324/2.047, allocations: 23.82 MB / 1.422 GB, free: 14.08 MB / 1.182 GB Notification: Performance of Templates: time 0.5401/2.587, allocations: 239.9 MB / 1.656 GB, free: 359 MB / 1.182 GB " [Timeout remaining time 657] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.735724372090772] Failed to read output from testmodel.py, exit status != 0: 2.5925580030307174 2.599338954 1.019589429 Calling exit ...