Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001381/0.001381, allocations: 92.7 kB / 19.44 MB, free: 324 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.001549/0.001549, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.434/1.434, allocations: 177.2 MB / 203.1 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.205/1.205, allocations: 154.8 MB / 414.4 MB, free: 448 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] 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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.5198 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.825e-05/4.051e-05, allocations: 7.469 kB / 0.5198 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009367/0.009408, allocations: 5.364 MB / 0.5251 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1972/0.2066, allocations: 133 MB / 0.6549 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.2076, allocations: 23.81 kB / 0.655 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.2084, allocations: 245.5 kB / 0.6552 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.2106, allocations: 0.6638 MB / 0.6558 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.213, allocations: 0.8958 MB / 0.6567 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002522/0.2156, allocations: 1.711 MB / 0.6584 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.2168, allocations: 0.5815 MB / 0.6589 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001573/0.2184, allocations: 0.9395 MB / 0.6599 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008925/0.2193, allocations: 0.4985 MB / 0.6604 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.2195, allocations: 156 kB / 0.6605 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.2211, allocations: 0.5267 MB / 0.661 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004862/0.2216, allocations: 382.7 kB / 0.6614 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009058/0.2225, allocations: 0.5066 MB / 0.6619 GB, free: 468 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003493/0.226, allocations: 2.184 MB / 0.664 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.226, allocations: 4 kB / 0.664 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.226, allocations: 0 / 0.664 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.756e-05/0.226, allocations: 0 / 0.664 GB, free: 14.26 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004004/0.23, allocations: 1.697 MB / 0.6657 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.23, allocations: 12.03 kB / 0.6657 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.2323, allocations: 403.3 kB / 0.6661 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.2343, allocations: 0.8429 MB / 0.6669 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2345, allocations: 94.53 kB / 0.667 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/0.2347, allocations: 120 kB / 0.6671 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.2381, allocations: 1.453 MB / 0.6685 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.2382, allocations: 7.922 kB / 0.6685 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.2383, allocations: 48 kB / 0.6686 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.2384, allocations: 28 kB / 0.6686 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.2412, allocations: 1.238 MB / 0.6698 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006483/0.2476, allocations: 2.636 MB / 0.6724 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.2498, allocations: 0.819 MB / 0.6732 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.2506, allocations: 294.7 kB / 0.6735 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.79e-05/0.2507, allocations: 28.64 kB / 0.6735 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.252, allocations: 0.6284 MB / 0.6741 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=87): time 3.917e-06/0.252, allocations: 0 / 0.6741 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87): time 0.004581/0.2566, allocations: 1.235 MB / 0.6753 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004692/0.2571, allocations: 192.9 kB / 0.6755 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.2584, allocations: 0.6724 MB / 0.6761 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.2585, allocations: 45.7 kB / 0.6762 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006692/0.2591, allocations: 0.5398 MB / 0.6767 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/0.2595, allocations: 293.5 kB / 0.677 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.2599, allocations: 174.5 kB / 0.6772 GB, free: 420 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003091/0.2602, allocations: 394.7 kB / 0.6775 GB, free: 16 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2786/0.5388, allocations: 291.4 kB / 0.6778 GB, free: 200.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/0.5396, allocations: 0.5049 MB / 0.6783 GB, free: 200 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5407, allocations: 0.6607 MB / 0.679 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.5407, allocations: 0 / 0.679 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002084/0.5428, allocations: 0.9535 MB / 0.6799 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5429, allocations: 6.625 kB / 0.6799 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5429, allocations: 0.7812 kB / 0.6799 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.5438, allocations: 130.4 kB / 0.68 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.5444, allocations: 173.6 kB / 0.6802 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.5462, allocations: 1.5 MB / 0.6816 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000822/0.547, allocations: 89.75 kB / 0.6817 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.5471, allocations: 40.27 kB / 0.6818 GB, free: 198.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004821/0.5476, allocations: 302.8 kB / 0.6821 GB, free: 197.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.5478, allocations: 124.8 kB / 0.6822 GB, free: 197.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.55, allocations: 1.113 MB / 0.6833 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.55, allocations: 11.34 kB / 0.6833 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.55, allocations: 7.5 kB / 0.6833 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.55, allocations: 3.859 kB / 0.6833 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.5509, allocations: 0.7485 MB / 0.684 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5509, allocations: 0 / 0.684 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005891/0.5515, allocations: 152.3 kB / 0.6842 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007166/0.5522, allocations: 123 kB / 0.6843 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.5523, allocations: 26.73 kB / 0.6843 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.5538, allocations: 1.531 MB / 0.6858 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5538, allocations: 0 / 0.6858 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.5557, allocations: 1.014 MB / 0.6868 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003518/0.556, allocations: 212.7 kB / 0.687 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.5561, allocations: 21.28 kB / 0.687 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006002/0.5567, allocations: 69.44 kB / 0.6871 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.5569, allocations: 78.77 kB / 0.6872 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.557, allocations: 34.34 kB / 0.6872 GB, free: 195.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005199/0.5575, allocations: 485.3 kB / 0.6877 GB, free: 195 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5575, allocations: 0 / 0.6877 GB, free: 195 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009842/0.5585, allocations: 399.8 kB / 0.688 GB, free: 194.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/0.5608, allocations: 0.6636 MB / 0.6887 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.5624, allocations: 0.8621 MB / 0.6895 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5624, allocations: 2.594 kB / 0.6895 GB, free: 194.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/0.5632, allocations: 0.5066 MB / 0.69 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.5643, allocations: 336.2 kB / 0.6903 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.5673, allocations: 2.038 MB / 0.6923 GB, free: 193 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.5678, allocations: 0.5272 MB / 0.6928 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007505/0.5685, allocations: 264.3 kB / 0.6931 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.5688, allocations: 112.1 kB / 0.6932 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/0.5688, allocations: 2.625 kB / 0.6932 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.02736/0.5961, allocations: 15.91 MB / 0.7087 GB, free: 191.1 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9589275910984725]