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.006873/0.006873, allocations: 103.9 kB / 15.73 MB, free: 6.492 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.001244/0.001244, allocations: 190 kB / 16.67 MB, free: 6.379 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 287 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 99.83 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1773, allocations: 86.96 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008433/0.1858, allocations: 6.478 MB / 0.7727 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5409/0.7268, allocations: 151.6 MB / 0.9207 GB, free: 4.602 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.7288, allocations: 23.88 kB / 0.9208 GB, free: 4.578 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.7304, allocations: 257.3 kB / 0.921 GB, free: 4.324 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.7349, allocations: 0.6951 MB / 0.9217 GB, free: 3.633 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004608/0.7395, allocations: 1.357 MB / 0.923 GB, free: 2.281 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.7439, allocations: 2.669 MB / 0.9256 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.7466, allocations: 1.596 MB / 0.9272 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.7488, allocations: 1.153 MB / 0.9283 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.751, allocations: 1.307 MB / 0.9296 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009077/0.7519, allocations: 324 kB / 0.9299 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.7538, allocations: 0.691 MB / 0.9306 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/0.7548, allocations: 0.6932 MB / 0.9312 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.7568, allocations: 1.279 MB / 0.9325 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004683/0.7615, allocations: 3.558 MB / 0.936 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7615, allocations: 0 / 0.936 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.527e-06/0.7615, allocations: 0 / 0.936 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001093/0.7617, allocations: 3.938 kB / 0.936 GB, free: 4.93 MB / 0.6856 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.007553/0.7692, allocations: 2.783 MB / 0.9387 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7693, allocations: 12.03 kB / 0.9387 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/0.7848, allocations: 2.112 MB / 0.9408 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003197/0.788, allocations: 1.275 MB / 0.942 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.7882, allocations: 172.5 kB / 0.9422 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008638/0.7891, allocations: 220 kB / 0.9424 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.8005, allocations: 3.282 MB / 0.9456 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/0.8006, allocations: 0 / 0.9456 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006325/0.8013, allocations: 100 kB / 0.9457 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.8014, allocations: 52 kB / 0.9457 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.815, allocations: 4.205 MB / 0.9498 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.832, allocations: 7.227 MB / 0.9569 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009478/0.8415, allocations: 2.888 MB / 0.9597 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004494/0.8461, allocations: 1.489 MB / 0.9612 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.8469, allocations: 0.5074 MB / 0.9617 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005283/0.8522, allocations: 1.841 MB / 0.9635 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 5.591e-06/0.8522, allocations: 4 kB / 0.9635 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01532/0.8676, allocations: 4.454 MB / 0.9678 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.8677, allocations: 209.8 kB / 0.968 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.8692, allocations: 0.9487 MB / 0.9689 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.8695, allocations: 65.7 kB / 0.969 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.8702, allocations: 0.7388 MB / 0.9697 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/0.8709, allocations: 0.6785 MB / 0.9704 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000864/0.8717, allocations: 395.2 kB / 0.9708 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8719, allocations: 301.1 kB / 0.9711 GB, free: 448 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/0.8762, allocations: 1.257 MB / 0.9723 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004574/0.8808, allocations: 1.441 MB / 0.9737 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00869/0.8895, allocations: 2.606 MB / 0.9762 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.8895, allocations: 0 / 0.9762 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01049/0.9, allocations: 3.12 MB / 0.9793 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.9001, allocations: 4 kB / 0.9793 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.9001, allocations: 5.75 kB / 0.9793 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/0.9007, allocations: 86.72 kB / 0.9794 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.9044, allocations: 0.6006 MB / 0.98 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/0.9072, allocations: 1.638 MB / 0.9816 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/0.9105, allocations: 378.9 kB / 0.9819 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.9108, allocations: 99.89 kB / 0.982 GB, free: 5.004 MB / 0.7325 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.001275/0.9121, allocations: 434.5 kB / 0.9824 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006258/0.9128, allocations: 158 kB / 0.9826 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.9248, allocations: 3.716 MB / 0.9862 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.9248, allocations: 20 kB / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9248, allocations: 0 / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.9249, allocations: 15.95 kB / 0.9863 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.9283, allocations: 2.455 MB / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.9283, allocations: 0 / 0.9886 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/0.9318, allocations: 0.5655 MB / 0.9892 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.9323, allocations: 80.67 kB / 0.9893 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/0.9326, allocations: 75.91 kB / 0.9894 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.9345, allocations: 1.654 MB / 0.991 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9345, allocations: 0 / 0.991 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.945, allocations: 3.21 MB / 0.9941 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.9463, allocations: 0.5453 MB / 0.9946 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/0.9468, allocations: 55.77 kB / 0.9947 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/0.9498, allocations: 278.6 kB / 0.995 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/0.9501, allocations: 149.8 kB / 0.9951 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/0.9503, allocations: 91.91 kB / 0.9952 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001168/0.9515, allocations: 0.6958 MB / 0.9959 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.9515, allocations: 0 / 0.9959 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002059/0.9536, allocations: 0.6426 MB / 0.9965 GB, free: 5.914 MB / 0.7481 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.001787/0.9554, allocations: 0.6695 MB / 0.9971 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01013/0.9655, allocations: 3.159 MB / 1 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9656, allocations: 4 kB / 1 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.005111/0.9707, allocations: 1.751 MB / 1.002 GB, free: 492 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.9727, allocations: 366 kB / 1.002 GB, free: 148 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.9832, allocations: 4.156 MB / 1.006 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.9846, allocations: 1.434 MB / 1.008 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003076/0.9877, allocations: 0.5714 MB / 1.008 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.9889, allocations: 235.2 kB / 1.009 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of SimCode: time 8.51e-07/0.9889, allocations: 0 / 1.009 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of Templates: time 0.05323/1.042, allocations: 31.23 MB / 1.039 GB, free: 10.62 MB / 0.795 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)