Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.0007343/0.0007343, 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.0007937/0.0007937, allocations: 177.2 kB / 23.2 MB, free: 1.363 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.845/0.845, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.6959/0.6959, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels") [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.0009836/0.0009836, allocations: 75.88 kB / 0.6196 GB, free: 13.1 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.3869/0.3878, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.03439/0.4222, allocations: 52.39 MB / 0.7703 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.127/0.5492, allocations: 149.6 MB / 0.9164 GB, free: 7.473 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003646/0.5529, allocations: 123 kB / 0.9165 GB, free: 7.352 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.5558, allocations: 1.338 MB / 0.9178 GB, free: 6.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007089/0.5628, allocations: 3.307 MB / 0.921 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005592/0.5684, allocations: 3.165 MB / 0.9241 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.04253/0.611, allocations: 71.79 MB / 0.9942 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02316/0.6341, allocations: 22.7 MB / 1.016 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7284/1.363, allocations: 33.75 MB / 1.049 GB, free: 18.81 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03038/1.393, allocations: 21.78 MB / 1.071 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.008248/1.401, allocations: 3.033 MB / 1.074 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/1.419, allocations: 4.756 MB / 1.078 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.01103/1.43, allocations: 7.977 MB / 1.086 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.02228/1.452, allocations: 12.5 MB / 1.098 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03399/1.486, allocations: 46.58 MB / 1.144 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.486, allocations: 0 / 1.144 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/1.486, allocations: 0 / 1.144 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001283/1.487, allocations: 0 / 1.144 GB, free: 0.9648 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4677 * Number of variables: 4677 Notification: Performance of Generate backend data structure: time 0.05683/1.544, allocations: 29.73 MB / 1.173 GB, free: 14.68 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/1.544, allocations: 11.06 kB / 1.173 GB, free: 14.68 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/1.562, allocations: 4.701 MB / 1.177 GB, free: 12.42 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04513/1.607, allocations: 26.1 MB / 1.203 GB, free: 4.113 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00087/1.608, allocations: 1.29 MB / 1.204 GB, free: 2.832 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00681/1.615, allocations: 1.741 MB / 1.206 GB, free: 1.102 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05906/1.674, allocations: 33.54 MB / 1.239 GB, free: 13.65 MB / 0.9793 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003772/1.674, allocations: 71.28 kB / 1.239 GB, free: 13.61 MB / 0.9793 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/1.677, allocations: 0.7454 MB / 1.239 GB, free: 12.87 MB / 0.9793 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005843/1.677, allocations: 0.9052 MB / 1.24 GB, free: 11.98 MB / 0.9793 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04893/1.726, allocations: 25.97 MB / 1.266 GB, free: 2.184 MB / 0.9949 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.1306/1.857, allocations: 84.45 MB / 1.348 GB, free: 14.52 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02592/1.883, allocations: 18.99 MB / 1.367 GB, free: 11.6 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01146/1.894, allocations: 9.05 MB / 1.375 GB, free: 2.508 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009931/1.895, allocations: 385 kB / 1.376 GB, free: 2.129 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01517/1.91, allocations: 14.2 MB / 1.39 GB, free: 2.746 MB / 1.12 GB Notification: Performance of pre-optimization done (n=1178): time 1.309e-05/1.91, allocations: 4 kB / 1.39 GB, free: 2.742 MB / 1.12 GB Notification: Performance of matching and sorting (n=1178): time 0.03319/1.943, allocations: 24.23 MB / 1.413 GB, free: 10.45 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002765/1.944, allocations: 386.2 kB / 1.414 GB, free: 10 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.025/1.969, allocations: 18.04 MB / 1.431 GB, free: 8.047 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002723/1.971, allocations: 265.7 kB / 1.432 GB, free: 7.781 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.3377/2.309, allocations: 10.5 MB / 1.442 GB, free: 475.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006158/2.315, allocations: 4.272 MB / 1.446 GB, free: 474.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004734/2.32, allocations: 2.856 MB / 1.449 GB, free: 473.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 3.383e-05/2.32, allocations: 303.8 kB / 1.449 GB, free: 473.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01183/2.332, allocations: 8.59 MB / 1.457 GB, free: 473.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/2.345, allocations: 12.77 MB / 1.47 GB, free: 468.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02559/2.371, allocations: 21.37 MB / 1.491 GB, free: 457.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/2.371, allocations: 35.06 kB / 1.491 GB, free: 457.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.03322/2.404, allocations: 23.13 MB / 1.513 GB, free: 449.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/2.404, allocations: 124.6 kB / 1.514 GB, free: 449.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/2.404, allocations: 108.1 kB / 1.514 GB, free: 449.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002046/2.405, allocations: 178.7 kB / 1.514 GB, free: 449.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008921/2.414, allocations: 3.489 MB / 1.517 GB, free: 449 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002667/2.414, allocations: 247.3 kB / 1.517 GB, free: 449 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01294/2.427, allocations: 1.964 MB / 1.519 GB, free: 448 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001978/2.429, allocations: 0.6667 MB / 1.52 GB, free: 447.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01962/2.448, allocations: 15.92 MB / 1.536 GB, free: 442.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01132/2.46, allocations: 12.77 MB / 1.548 GB, free: 434.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02028/2.48, allocations: 21.35 MB / 1.569 GB, free: 414.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.241e-05/2.48, allocations: 37.47 kB / 1.569 GB, free: 414.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=1836) (initialization_lambda0): time 0.02562/2.506, allocations: 23.13 MB / 1.592 GB, free: 391.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/2.506, allocations: 131.4 kB / 1.592 GB, free: 390.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-05/2.506, allocations: 104 kB / 1.592 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.157e-05/2.506, allocations: 180 kB / 1.592 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007248/2.513, allocations: 3.479 MB / 1.595 GB, free: 387.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001879/2.513, allocations: 251.2 kB / 1.596 GB, free: 386.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/2.524, allocations: 1.747 MB / 1.597 GB, free: 385.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008787/2.525, allocations: 0.6638 MB / 1.598 GB, free: 384.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.datRea.nextTimeEvent,$whenCondition3,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solCol1.HDirTil.incAng.decAng.tNext,$PRE.solCol1.HDirTil.incAng.decAng.tNext,solCol1.HDifTilIso.incAng.decAng.tNext,$PRE.solCol1.HDifTilIso.incAng.decAng.tNext,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,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,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1818): * Single equations (assignments): 1816 * Array equations: 0 * Algorithm blocks: 2 * 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.002706/2.528, allocations: 1.08 MB / 1.599 GB, free: 383.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003568/2.531, allocations: 1.79 MB / 1.601 GB, free: 381.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/2.553, allocations: 19.37 MB / 1.62 GB, free: 362.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01542/2.568, allocations: 15.65 MB / 1.635 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/2.568, allocations: 3.938 kB / 1.635 GB, free: 346.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008773/2.577, allocations: 4.517 MB / 1.639 GB, free: 341.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003357/2.58, allocations: 263.8 kB / 1.64 GB, free: 341.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008482/2.589, allocations: 0.9774 MB / 1.641 GB, free: 340.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008294/2.59, allocations: 0.707 MB / 1.641 GB, free: 340 MB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02326/2.613, allocations: 18.83 MB / 1.66 GB, free: 321.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03112/2.644, allocations: 30.33 MB / 1.689 GB, free: 290.8 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00781/2.652, allocations: 8.156 MB / 1.697 GB, free: 282.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01482/2.667, allocations: 12.49 MB / 1.709 GB, free: 270.3 MB / 1.167 GB Notification: Performance of Backend: time 8.82e-07/2.667, allocations: 4 kB / 1.709 GB, free: 270.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03956/2.706, allocations: 24.12 MB / 1.733 GB, free: 246.7 MB / 1.167 GB Notification: Performance of SimCode: time 0.0614/2.767, allocations: 51.39 MB / 1.783 GB, free: 195.6 MB / 1.167 GB Notification: Performance of Templates: time 0.7296/3.497, allocations: 488.4 MB / 2.26 GB, free: 221.6 MB / 1.167 GB " [Timeout remaining time 656] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.537162618013099] Failed to read output from testmodel.py, exit status != 0: 3.502925169887021 3.513658579 2.025310777 Calling exit ...