Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 108.4 kB / 17.03 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 194.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7184/0.7184, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002113, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 76.14 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008252/0.3648, allocations: 8.391 MB / 0.5658 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1632/0.5281, allocations: 151.8 MB / 0.714 GB, free: 3.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.5297, allocations: 19.94 kB / 0.714 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009128/0.5307, allocations: 328.6 kB / 0.7144 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.5336, allocations: 0.8543 MB / 0.7152 GB, free: 2.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003165/0.5368, allocations: 1.387 MB / 0.7166 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.5406, allocations: 2.99 MB / 0.7195 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.5425, allocations: 1.495 MB / 0.7209 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.5442, allocations: 1.188 MB / 0.7221 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.5461, allocations: 1.346 MB / 0.7234 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004752/0.5466, allocations: 324 kB / 0.7237 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.5481, allocations: 0.7066 MB / 0.7244 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.5486, allocations: 0.701 MB / 0.7251 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.5498, allocations: 1.334 MB / 0.7264 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.5539, allocations: 3.653 MB / 0.73 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.554, allocations: 0 / 0.73 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.584e-06/0.554, allocations: 3.938 kB / 0.73 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.218e-05/0.554, allocations: 4 kB / 0.73 GB, free: 3.375 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006456/0.5605, allocations: 2.83 MB / 0.7327 GB, free: 472 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5606, allocations: 12.03 kB / 0.7327 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0156/0.5762, allocations: 2.108 MB / 0.7348 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.5791, allocations: 1.286 MB / 0.7361 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.5792, allocations: 176.5 kB / 0.7362 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004189/0.5797, allocations: 216 kB / 0.7364 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008022/0.5877, allocations: 3.286 MB / 0.7396 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.5877, allocations: 0 / 0.7396 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.588, allocations: 92 kB / 0.7397 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/0.588, allocations: 59.98 kB / 0.7398 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.5998, allocations: 4.201 MB / 0.7439 GB, free: 4.871 MB / 0.5762 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.2678/0.8677, allocations: 8.015 MB / 0.7517 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008659/0.8763, allocations: 2.891 MB / 0.7545 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004174/0.8805, allocations: 1.492 MB / 0.756 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007307/0.8813, allocations: 0.5029 MB / 0.7565 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005115/0.8864, allocations: 1.843 MB / 0.7583 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 4.147e-06/0.8864, allocations: 0 / 0.7583 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.0142/0.9006, allocations: 4.469 MB / 0.7627 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.9008, allocations: 208.8 kB / 0.7628 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.9024, allocations: 0.9473 MB / 0.7638 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/0.9027, allocations: 64.28 kB / 0.7638 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.9033, allocations: 0.7444 MB / 0.7646 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005978/0.9039, allocations: 0.6831 MB / 0.7652 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007697/0.9047, allocations: 393.8 kB / 0.7656 GB, free: 164 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.9048, allocations: 302.4 kB / 0.7659 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003972/0.9087, allocations: 1.259 MB / 0.7671 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/0.913, allocations: 1.44 MB / 0.7685 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007784/0.9208, allocations: 2.609 MB / 0.7711 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.9208, allocations: 0 / 0.7711 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009855/0.9307, allocations: 3.127 MB / 0.7741 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.9307, allocations: 6.016 kB / 0.7741 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.9308, allocations: 2.375 kB / 0.7741 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/0.9314, allocations: 86.94 kB / 0.7742 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00369/0.9351, allocations: 0.6081 MB / 0.7748 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.937, allocations: 1.627 MB / 0.7764 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/0.9401, allocations: 373.9 kB / 0.7768 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.9404, allocations: 100.2 kB / 0.7769 GB, free: 158.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001072/0.9415, allocations: 452.7 kB / 0.7773 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.9419, allocations: 160.3 kB / 0.7774 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.9522, allocations: 3.705 MB / 0.7811 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.9523, allocations: 22.94 kB / 0.7811 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9523, allocations: 0 / 0.7811 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/0.9523, allocations: 17.31 kB / 0.7811 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.9552, allocations: 2.45 MB / 0.7835 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.9552, allocations: 0 / 0.7835 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003319/0.9585, allocations: 0.5586 MB / 0.784 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/0.9589, allocations: 78.25 kB / 0.7841 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/0.9591, allocations: 76.16 kB / 0.7842 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.9607, allocations: 1.664 MB / 0.7858 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9607, allocations: 3.156 kB / 0.7858 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008611/0.9694, allocations: 3.215 MB / 0.789 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.9704, allocations: 0.5462 MB / 0.7895 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003699/0.9708, allocations: 47.59 kB / 0.7895 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.9734, allocations: 266.9 kB / 0.7898 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.9737, allocations: 149.8 kB / 0.7899 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/0.9739, allocations: 93.66 kB / 0.79 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007735/0.9747, allocations: 0.6982 MB / 0.7907 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9747, allocations: 0 / 0.7907 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001517/0.9762, allocations: 0.6765 MB / 0.7914 GB, free: 149.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001453/0.9777, allocations: 0.6657 MB / 0.792 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008127/0.9858, allocations: 3.164 MB / 0.7951 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9858, allocations: 256 / 0.7951 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00451/0.9904, allocations: 1.759 MB / 0.7968 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.9923, allocations: 387.2 kB / 0.7972 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/0.9998, allocations: 4.078 MB / 0.8012 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/1.001, allocations: 1.427 MB / 0.8026 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002525/1.003, allocations: 0.5736 MB / 0.8031 GB, free: 138 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009341/1.004, allocations: 243.2 kB / 0.8034 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.031e-06/1.004, allocations: 0 / 0.8034 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04098/1.045, allocations: 31.43 MB / 0.834 GB, free: 106.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)