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.0009934/0.0009937, allocations: 88.38 kB / 16.67 MB, free: 6.594 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.00126/0.00126, allocations: 185.8 kB / 17.58 MB, free: 6.188 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.405/1.405, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7357/0.7357, allocations: 115.5 MB / 408.2 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005053, allocations: 11.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4149, allocations: 77.51 MB / 0.5606 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007745/0.4227, allocations: 7.814 MB / 0.5682 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1761/0.5989, allocations: 147.9 MB / 0.7126 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.6019, allocations: 19.94 kB / 0.7127 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.6035, allocations: 242 kB / 0.7129 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004738/0.6083, allocations: 0.7257 MB / 0.7136 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/0.6123, allocations: 1.22 MB / 0.7148 GB, free: 5.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006462/0.6188, allocations: 2.771 MB / 0.7175 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/0.622, allocations: 1.414 MB / 0.7189 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.624, allocations: 0.8127 MB / 0.7197 GB, free: 40 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.6261, allocations: 0.9676 MB / 0.7206 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006234/0.6267, allocations: 71.98 kB / 0.7207 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.6284, allocations: 423.7 kB / 0.7211 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008133/0.6292, allocations: 402 kB / 0.7215 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002507/0.6317, allocations: 1.027 MB / 0.7225 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.636, allocations: 2.657 MB / 0.7251 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.636, allocations: 0 / 0.7251 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.636, allocations: 0 / 0.7251 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001396/0.6362, allocations: 0 / 0.7251 GB, free: 10.48 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.007031/0.6432, allocations: 2.324 MB / 0.7273 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.6433, allocations: 15.97 kB / 0.7274 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.66, allocations: 2.296 MB / 0.7296 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/0.6638, allocations: 1.27 MB / 0.7308 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.6641, allocations: 172.5 kB / 0.731 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.6655, allocations: 216 kB / 0.7312 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/0.6795, allocations: 3.356 MB / 0.7345 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.126e-05/0.6796, allocations: 3.938 kB / 0.7345 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008739/0.6805, allocations: 92 kB / 0.7346 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.6806, allocations: 56 kB / 0.7346 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.696, allocations: 4.342 MB / 0.7389 GB, free: 12.1 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.0221/0.7181, allocations: 8.158 MB / 0.7468 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.7284, allocations: 2.895 MB / 0.7497 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3158/1.044, allocations: 1.5 MB / 0.7511 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000944/1.045, allocations: 0.5115 MB / 0.7516 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006733/1.052, allocations: 1.855 MB / 0.7534 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 1.012e-05/1.052, allocations: 0 / 0.7534 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01704/1.069, allocations: 4.514 MB / 0.7579 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.539e-05/1.069, allocations: 208.4 kB / 0.7581 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.071, allocations: 0.944 MB / 0.759 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/1.071, allocations: 68.05 kB / 0.759 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/1.072, allocations: 0.7419 MB / 0.7598 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006054/1.072, allocations: 0.6793 MB / 0.7604 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/1.073, allocations: 149 kB / 0.7606 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/1.073, allocations: 304.8 kB / 0.7609 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00448/1.077, allocations: 1.272 MB / 0.7621 GB, free: 166 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/1.082, allocations: 1.453 MB / 0.7635 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009083/1.091, allocations: 2.633 MB / 0.7661 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/1.091, allocations: 1.031 kB / 0.7661 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0116/1.103, allocations: 3.154 MB / 0.7692 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/1.103, allocations: 6.188 kB / 0.7692 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.103, allocations: 1.312 kB / 0.7692 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/1.103, allocations: 94.17 kB / 0.7693 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/1.108, allocations: 0.6077 MB / 0.7699 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/1.11, allocations: 1.541 MB / 0.7714 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/1.114, allocations: 397.8 kB / 0.7717 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006483/1.114, allocations: 101.4 kB / 0.7718 GB, free: 161.8 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.001272/1.116, allocations: 447.1 kB / 0.7723 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/1.116, allocations: 157.5 kB / 0.7724 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.129, allocations: 3.739 MB / 0.7761 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.032e-05/1.129, allocations: 22.53 kB / 0.7761 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.129, allocations: 8 kB / 0.7761 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/1.129, allocations: 12.84 kB / 0.7761 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/1.133, allocations: 2.443 MB / 0.7785 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.133, allocations: 1.188 kB / 0.7785 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003659/1.136, allocations: 0.5649 MB / 0.7791 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005892/1.137, allocations: 88.47 kB / 0.7791 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004003/1.137, allocations: 74.09 kB / 0.7792 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/1.139, allocations: 1.56 MB / 0.7807 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.139, allocations: 4.969 kB / 0.7807 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.15, allocations: 3.232 MB / 0.7839 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.152, allocations: 0.577 MB / 0.7845 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/1.152, allocations: 42.16 kB / 0.7845 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/1.155, allocations: 310.9 kB / 0.7848 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.156, allocations: 146.1 kB / 0.7849 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.156, allocations: 93.31 kB / 0.785 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008915/1.157, allocations: 0.7043 MB / 0.7857 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.157, allocations: 0 / 0.7857 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001986/1.159, allocations: 0.6724 MB / 0.7864 GB, free: 155.3 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.001568/1.16, allocations: 0.6544 MB / 0.787 GB, free: 155 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.171, allocations: 3.197 MB / 0.7901 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.171, allocations: 0 / 0.7901 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005248/1.176, allocations: 1.767 MB / 0.7919 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.178, allocations: 369.6 kB / 0.7922 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009377/1.188, allocations: 5.163 MB / 0.7972 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/1.188, allocations: 1.426 MB / 0.7986 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/1.19, allocations: 291.1 kB / 0.7989 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/1.19, allocations: 0 / 0.7989 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.05272/1.243, allocations: 41.95 MB / 0.8399 GB, free: 102.5 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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)