Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001821/0.001821, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001559/0.001559, allocations: 191.8 kB / 16.14 MB, free: 6.715 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002631/0.00263, allocations: 283.2 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002739/0.002739, allocations: 98.8 kB / 0.6057 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1606, allocations: 89.15 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01028/0.1709, allocations: 8.35 MB / 0.7009 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4395/0.6105, allocations: 149.5 MB / 0.8469 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.6117, allocations: 20.44 kB / 0.847 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007677/0.6125, allocations: 244.4 kB / 0.8472 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.6146, allocations: 0.7289 MB / 0.8479 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.6172, allocations: 1.223 MB / 0.8491 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002542/0.6197, allocations: 2.775 MB / 0.8518 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.6215, allocations: 1.443 MB / 0.8532 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.6227, allocations: 1.014 MB / 0.8542 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.624, allocations: 1.231 MB / 0.8554 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.6243, allocations: 162 kB / 0.8556 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009858/0.6253, allocations: 0.508 MB / 0.8561 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000504/0.6258, allocations: 0.5347 MB / 0.8566 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.6269, allocations: 1.182 MB / 0.8577 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.63, allocations: 3.441 MB / 0.8611 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.63, allocations: 0 / 0.8611 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.989e-06/0.63, allocations: 1.812 kB / 0.8611 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.63, allocations: 3.938 kB / 0.8611 GB, free: 12.12 MB / 0.5919 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.00582/0.6358, allocations: 2.826 MB / 0.8639 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.6359, allocations: 10.5 kB / 0.8639 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.6517, allocations: 2.113 MB / 0.8659 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.6542, allocations: 1.262 MB / 0.8672 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.6543, allocations: 173.3 kB / 0.8673 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/0.6547, allocations: 222.4 kB / 0.8675 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008269/0.6629, allocations: 3.281 MB / 0.8707 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.663, allocations: 0 / 0.8707 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.6633, allocations: 92.84 kB / 0.8708 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.6633, allocations: 56 kB / 0.8709 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.676, allocations: 4.201 MB / 0.875 GB, free: 1.336 MB / 0.5919 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.01714/0.6932, allocations: 8.105 MB / 0.8829 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009646/0.7028, allocations: 2.882 MB / 0.8857 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004517/0.7074, allocations: 1.489 MB / 0.8872 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008747/0.7082, allocations: 0.5074 MB / 0.8877 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005345/0.7136, allocations: 1.849 MB / 0.8895 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 3.597e-06/0.7136, allocations: 0 / 0.8895 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01533/0.729, allocations: 4.466 MB / 0.8938 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.7291, allocations: 213.9 kB / 0.894 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.7305, allocations: 0.9448 MB / 0.895 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.7308, allocations: 65.7 kB / 0.895 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000657/0.7314, allocations: 0.7349 MB / 0.8957 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006868/0.7321, allocations: 0.6814 MB / 0.8964 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007906/0.7329, allocations: 391.2 kB / 0.8968 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.733, allocations: 301.1 kB / 0.8971 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004282/0.7373, allocations: 1.261 MB / 0.8983 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.7418, allocations: 1.442 MB / 0.8997 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008479/0.7503, allocations: 2.61 MB / 0.9023 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.7503, allocations: 0 / 0.9023 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01025/0.7606, allocations: 3.128 MB / 0.9053 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.7606, allocations: 4 kB / 0.9053 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7606, allocations: 0 / 0.9053 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/0.7612, allocations: 96.39 kB / 0.9054 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/0.765, allocations: 0.6024 MB / 0.906 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.7673, allocations: 1.536 MB / 0.9075 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.7705, allocations: 382 kB / 0.9079 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/0.7708, allocations: 103.9 kB / 0.908 GB, free: 14.88 MB / 0.6387 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.001055/0.7718, allocations: 442.8 kB / 0.9084 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004306/0.7723, allocations: 158 kB / 0.9085 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.7842, allocations: 3.707 MB / 0.9122 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.7843, allocations: 31.94 kB / 0.9122 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7843, allocations: 3.938 kB / 0.9122 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.7843, allocations: 11.95 kB / 0.9122 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.7878, allocations: 2.452 MB / 0.9146 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7878, allocations: 0 / 0.9146 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003696/0.7915, allocations: 0.5578 MB / 0.9151 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00055/0.792, allocations: 88.77 kB / 0.9152 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/0.7923, allocations: 71.91 kB / 0.9153 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.7942, allocations: 1.556 MB / 0.9168 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7942, allocations: 0 / 0.9168 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01029/0.8045, allocations: 3.21 MB / 0.9199 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.8056, allocations: 0.5452 MB / 0.9205 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/0.806, allocations: 55.91 kB / 0.9205 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/0.8089, allocations: 282 kB / 0.9208 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003404/0.8093, allocations: 149.8 kB / 0.9209 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/0.8095, allocations: 99.84 kB / 0.921 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00103/0.8106, allocations: 0.6958 MB / 0.9217 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8106, allocations: 0 / 0.9217 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001853/0.8124, allocations: 0.6739 MB / 0.9224 GB, free: 15.84 MB / 0.6544 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.002139/0.8146, allocations: 0.657 MB / 0.923 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.8247, allocations: 3.167 MB / 0.9261 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8247, allocations: 0 / 0.9261 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005281/0.83, allocations: 1.755 MB / 0.9278 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.832, allocations: 367.3 kB / 0.9282 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/0.8418, allocations: 5.084 MB / 0.9331 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.8429, allocations: 1.43 MB / 0.9345 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003559/0.8465, allocations: 0.5793 MB / 0.9351 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.8476, allocations: 235.2 kB / 0.9353 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.8476, allocations: 0 / 0.9353 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.05428/0.9019, allocations: 30.13 MB / 0.9648 GB, free: 4.75 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)