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.001125/0.001125, allocations: 107.2 kB / 17.02 MB, free: 5.66 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.001187/0.001187, allocations: 192.1 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.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 55.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3377, allocations: 76.14 MB / 0.5575 GB, free: 36.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009367/0.3471, allocations: 8.399 MB / 0.5658 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1587/0.5059, allocations: 151.8 MB / 0.714 GB, free: 3.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.5075, allocations: 23.94 kB / 0.714 GB, free: 3.906 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.5086, allocations: 320.6 kB / 0.7144 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.5117, allocations: 0.8515 MB / 0.7152 GB, free: 2.738 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.5151, allocations: 1.395 MB / 0.7165 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003818/0.5189, allocations: 2.994 MB / 0.7195 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.5211, allocations: 1.499 MB / 0.7209 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.5233, allocations: 1.184 MB / 0.7221 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001975/0.5253, allocations: 1.352 MB / 0.7234 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005957/0.5259, allocations: 324 kB / 0.7237 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.5274, allocations: 0.7026 MB / 0.7244 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.5281, allocations: 0.701 MB / 0.7251 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.5297, allocations: 1.338 MB / 0.7264 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003866/0.5336, allocations: 3.653 MB / 0.73 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5336, allocations: 0 / 0.73 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5336, allocations: 4 kB / 0.73 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.364e-05/0.5337, allocations: 0 / 0.73 GB, free: 3.508 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.006469/0.5402, allocations: 2.83 MB / 0.7327 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5402, allocations: 8.031 kB / 0.7327 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01529/0.5555, allocations: 2.108 MB / 0.7348 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.5581, allocations: 1.278 MB / 0.736 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.5583, allocations: 172.5 kB / 0.7362 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004664/0.5588, allocations: 231.9 kB / 0.7364 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.5703, allocations: 3.282 MB / 0.7396 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.816e-05/0.5704, allocations: 4 kB / 0.7396 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004575/0.5708, allocations: 92 kB / 0.7397 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/0.5709, allocations: 52 kB / 0.7398 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.5857, allocations: 4.205 MB / 0.7439 GB, free: 5.008 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.2571/0.8428, allocations: 8.017 MB / 0.7517 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009328/0.8521, allocations: 2.882 MB / 0.7545 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004317/0.8565, allocations: 1.49 MB / 0.756 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/0.8572, allocations: 0.5071 MB / 0.7565 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005288/0.8625, allocations: 1.843 MB / 0.7583 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 8.045e-06/0.8626, allocations: 1.922 kB / 0.7583 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01545/0.878, allocations: 4.472 MB / 0.7626 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/0.8782, allocations: 204.7 kB / 0.7628 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.8797, allocations: 0.9455 MB / 0.7638 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005164/0.8802, allocations: 64.53 kB / 0.7638 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.8808, allocations: 0.7436 MB / 0.7646 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000785/0.8816, allocations: 0.6874 MB / 0.7652 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000915/0.8825, allocations: 398 kB / 0.7656 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.8826, allocations: 301.9 kB / 0.7659 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/0.8867, allocations: 1.257 MB / 0.7671 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/0.8911, allocations: 1.44 MB / 0.7685 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008396/0.8995, allocations: 2.61 MB / 0.7711 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.8996, allocations: 0 / 0.7711 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01028/0.9099, allocations: 3.124 MB / 0.7741 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.9099, allocations: 6.031 kB / 0.7741 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.91, allocations: 6.719 kB / 0.7741 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.9106, allocations: 93.09 kB / 0.7742 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/0.9144, allocations: 0.6015 MB / 0.7748 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.9162, allocations: 1.628 MB / 0.7764 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/0.9196, allocations: 375.1 kB / 0.7768 GB, free: 159 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004909/0.9201, allocations: 99.91 kB / 0.7769 GB, free: 159 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.001197/0.9213, allocations: 439 kB / 0.7773 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.9218, allocations: 156.8 kB / 0.7774 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.9328, allocations: 3.722 MB / 0.7811 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.9328, allocations: 22.03 kB / 0.7811 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9328, allocations: 0 / 0.7811 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/0.9329, allocations: 13.23 kB / 0.7811 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.9359, allocations: 2.442 MB / 0.7835 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.936, allocations: 0 / 0.7835 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/0.9393, allocations: 0.5622 MB / 0.784 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.9397, allocations: 78.17 kB / 0.7841 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003255/0.9401, allocations: 73.31 kB / 0.7842 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.9416, allocations: 1.669 MB / 0.7858 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9416, allocations: 0 / 0.7858 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009107/0.9507, allocations: 3.213 MB / 0.7889 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.9519, allocations: 0.5419 MB / 0.7895 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.9523, allocations: 65.61 kB / 0.7895 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/0.9551, allocations: 267.7 kB / 0.7898 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.9554, allocations: 154 kB / 0.7899 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002731/0.9557, allocations: 93.53 kB / 0.79 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008341/0.9565, allocations: 0.6942 MB / 0.7907 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9566, allocations: 0 / 0.7907 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001783/0.9583, allocations: 0.6728 MB / 0.7914 GB, free: 150.1 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.001862/0.9602, allocations: 0.666 MB / 0.792 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009096/0.9693, allocations: 3.165 MB / 0.7951 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.9694, allocations: 0 / 0.7951 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.9739, allocations: 1.759 MB / 0.7968 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.9757, allocations: 396.4 kB / 0.7972 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.9837, allocations: 4.065 MB / 0.8012 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006804/0.9844, allocations: 1.43 MB / 0.8026 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002938/0.9874, allocations: 0.5697 MB / 0.8031 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.9884, allocations: 239.2 kB / 0.8033 GB, free: 138 MB / 0.5762 GB Notification: Performance of SimCode: time 1.482e-06/0.9885, allocations: 0 / 0.8033 GB, free: 138 MB / 0.5762 GB Notification: Performance of Templates: time 0.04304/1.032, allocations: 31.43 MB / 0.834 GB, free: 106.8 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)