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.001135/0.001135, allocations: 106 kB / 16.52 MB, free: 6.27 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.001132/0.001132, allocations: 192.8 kB / 17.44 MB, free: 5.887 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7068/0.7068, allocations: 115.3 MB / 406.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00241/0.002411, allocations: 71.89 kB / 493.6 MB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3893, allocations: 76.17 MB / 0.5564 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007793/0.3971, allocations: 8.333 MB / 0.5645 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.156/0.5532, allocations: 149.5 MB / 0.7105 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.5554, allocations: 27.88 kB / 0.7105 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009937/0.5565, allocations: 234 kB / 0.7108 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003/0.5595, allocations: 0.718 MB / 0.7115 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.5625, allocations: 1.227 MB / 0.7127 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003696/0.5662, allocations: 2.775 MB / 0.7154 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.5681, allocations: 1.457 MB / 0.7168 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.5696, allocations: 1.02 MB / 0.7178 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.5709, allocations: 1.225 MB / 0.719 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.5713, allocations: 156 kB / 0.7191 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.5724, allocations: 0.5113 MB / 0.7196 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.5729, allocations: 0.5292 MB / 0.7201 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.574, allocations: 1.181 MB / 0.7213 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.5764, allocations: 2.74 MB / 0.724 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5765, allocations: 0 / 0.724 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.041e-06/0.5765, allocations: 0 / 0.724 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.101e-05/0.5765, allocations: 0 / 0.724 GB, free: 8.469 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.005893/0.5824, allocations: 2.834 MB / 0.7267 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5825, allocations: 11.97 kB / 0.7268 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/0.5979, allocations: 2.108 MB / 0.7288 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.6004, allocations: 1.266 MB / 0.7301 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.6006, allocations: 168.5 kB / 0.7302 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/0.6009, allocations: 220 kB / 0.7304 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008683/0.6096, allocations: 3.274 MB / 0.7336 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.6097, allocations: 4 kB / 0.7336 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.61, allocations: 95.98 kB / 0.7337 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.61, allocations: 59.94 kB / 0.7338 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.6224, allocations: 4.197 MB / 0.7379 GB, free: 9.992 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.01691/0.6394, allocations: 8.112 MB / 0.7458 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2682/0.9076, allocations: 2.869 MB / 0.7486 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004634/0.9122, allocations: 1.493 MB / 0.7501 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/0.913, allocations: 0.5009 MB / 0.7505 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005411/0.9184, allocations: 1.847 MB / 0.7523 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 4.719e-06/0.9184, allocations: 1.781 kB / 0.7524 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01471/0.9332, allocations: 4.466 MB / 0.7567 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.9333, allocations: 204.1 kB / 0.7569 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.9347, allocations: 0.953 MB / 0.7578 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/0.9349, allocations: 68.27 kB / 0.7579 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005683/0.9355, allocations: 0.7378 MB / 0.7586 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005701/0.9361, allocations: 0.6824 MB / 0.7593 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008072/0.9369, allocations: 393 kB / 0.7597 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.937, allocations: 301.7 kB / 0.76 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004182/0.9412, allocations: 1.258 MB / 0.7612 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.9456, allocations: 1.439 MB / 0.7626 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008122/0.9538, allocations: 2.611 MB / 0.7651 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.9538, allocations: 6.953 kB / 0.7651 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009695/0.9635, allocations: 3.12 MB / 0.7682 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.9635, allocations: 10.5 kB / 0.7682 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.9636, allocations: 1.891 kB / 0.7682 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.9642, allocations: 88.69 kB / 0.7683 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/0.9678, allocations: 0.6055 MB / 0.7689 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.9696, allocations: 1.529 MB / 0.7704 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/0.9726, allocations: 381.7 kB / 0.7707 GB, free: 160 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.9729, allocations: 104.8 kB / 0.7708 GB, free: 160 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.0009938/0.9739, allocations: 441.5 kB / 0.7713 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.9743, allocations: 152.9 kB / 0.7714 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.9852, allocations: 3.718 MB / 0.775 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.9853, allocations: 22.72 kB / 0.7751 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9853, allocations: 8.609 kB / 0.7751 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.734e-05/0.9853, allocations: 12 kB / 0.7751 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.9884, allocations: 2.436 MB / 0.7774 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.9884, allocations: 0 / 0.7774 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/0.9917, allocations: 0.5627 MB / 0.778 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.9922, allocations: 92.5 kB / 0.7781 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.9924, allocations: 71.39 kB / 0.7782 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.9939, allocations: 1.548 MB / 0.7797 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9939, allocations: 0 / 0.7797 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009133/1.003, allocations: 3.212 MB / 0.7828 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009896/1.004, allocations: 0.5449 MB / 0.7833 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/1.004, allocations: 48.06 kB / 0.7834 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/1.007, allocations: 285.2 kB / 0.7837 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/1.007, allocations: 152.3 kB / 0.7838 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.008, allocations: 98.39 kB / 0.7839 GB, free: 154 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008343/1.008, allocations: 0.6961 MB / 0.7846 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.008, allocations: 3.938 kB / 0.7846 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001716/1.01, allocations: 0.6757 MB / 0.7852 GB, free: 153.5 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.00145/1.012, allocations: 0.654 MB / 0.7859 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008655/1.02, allocations: 3.17 MB / 0.789 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.02, allocations: 0 / 0.789 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004238/1.025, allocations: 1.754 MB / 0.7907 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/1.026, allocations: 367.6 kB / 0.791 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/1.034, allocations: 5.135 MB / 0.796 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/1.034, allocations: 1.426 MB / 0.7974 GB, free: 143.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.036, allocations: 291.1 kB / 0.7977 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/1.036, allocations: 0 / 0.7977 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04023/1.076, allocations: 42.19 MB / 0.8389 GB, free: 100.7 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)