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.001151/0.001151, allocations: 102.2 kB / 16.27 MB, free: 6 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.00124/0.00124, allocations: 191 kB / 17.2 MB, free: 5.609 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002143, allocations: 292.6 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.3 MB / 0.4988 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 101.9 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1679, allocations: 86.97 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009189/0.1771, allocations: 6.47 MB / 0.6871 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4704/0.6475, allocations: 151.6 MB / 0.8352 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.6488, allocations: 19.94 kB / 0.8352 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006972/0.6496, allocations: 265.2 kB / 0.8355 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.6518, allocations: 0.6879 MB / 0.8362 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.6549, allocations: 1.365 MB / 0.8375 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002878/0.6577, allocations: 2.653 MB / 0.8401 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.66, allocations: 1.59 MB / 0.8416 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.6616, allocations: 1.137 MB / 0.8427 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.6634, allocations: 1.281 MB / 0.844 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008317/0.6643, allocations: 328 kB / 0.8443 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.6661, allocations: 0.6793 MB / 0.845 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007928/0.6669, allocations: 0.6932 MB / 0.8456 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.6682, allocations: 1.271 MB / 0.8469 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/0.6719, allocations: 3.481 MB / 0.8503 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6719, allocations: 3.938 kB / 0.8503 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6719, allocations: 4 kB / 0.8503 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.571e-05/0.6719, allocations: 0 / 0.8503 GB, free: 1.27 MB / 0.6075 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.006204/0.6781, allocations: 2.773 MB / 0.853 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6782, allocations: 15.97 kB / 0.853 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01577/0.694, allocations: 2.116 MB / 0.8551 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.6967, allocations: 1.263 MB / 0.8563 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.6969, allocations: 168.5 kB / 0.8565 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.6973, allocations: 216 kB / 0.8567 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008634/0.7059, allocations: 3.282 MB / 0.8599 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.706, allocations: 3.938 kB / 0.8599 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.7062, allocations: 95.98 kB / 0.86 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.7063, allocations: 56 kB / 0.86 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/0.7192, allocations: 4.197 MB / 0.8641 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01737/0.7366, allocations: 7.309 MB / 0.8713 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009377/0.746, allocations: 2.88 MB / 0.8741 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004568/0.7506, allocations: 1.482 MB / 0.8755 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008095/0.7514, allocations: 0.5113 MB / 0.876 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005374/0.7568, allocations: 1.847 MB / 0.8778 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=213): time 5.16e-06/0.7569, allocations: 4 kB / 0.8778 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of matching and sorting (n=213): time 0.01584/0.7727, allocations: 4.45 MB / 0.8822 GB, free: 148 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.7729, allocations: 209.8 kB / 0.8824 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.7745, allocations: 0.9565 MB / 0.8833 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.7748, allocations: 61.7 kB / 0.8834 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006847/0.7755, allocations: 0.7504 MB / 0.8841 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007683/0.7763, allocations: 0.6699 MB / 0.8848 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009591/0.7772, allocations: 391.2 kB / 0.8851 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7773, allocations: 305.1 kB / 0.8854 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004678/0.782, allocations: 1.253 MB / 0.8867 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/0.7868, allocations: 1.434 MB / 0.8881 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009756/0.7966, allocations: 2.61 MB / 0.8906 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.7967, allocations: 0 / 0.8906 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01255/0.8092, allocations: 3.12 MB / 0.8937 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.8093, allocations: 4 kB / 0.8937 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.8093, allocations: 7.984 kB / 0.8937 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.81, allocations: 84.84 kB / 0.8937 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003925/0.8139, allocations: 0.6006 MB / 0.8943 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.8162, allocations: 1.635 MB / 0.8959 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.8196, allocations: 376 kB / 0.8963 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/0.82, allocations: 99.89 kB / 0.8964 GB, free: 1.305 MB / 0.6544 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.001435/0.8214, allocations: 441.8 kB / 0.8968 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/0.8221, allocations: 158.1 kB / 0.897 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.8348, allocations: 3.711 MB / 0.9006 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/0.8349, allocations: 27.98 kB / 0.9006 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.8349, allocations: 0 / 0.9006 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.8349, allocations: 7.969 kB / 0.9006 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.8388, allocations: 2.455 MB / 0.903 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/0.8389, allocations: 4 kB / 0.903 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003577/0.8425, allocations: 0.5617 MB / 0.9036 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.843, allocations: 84.66 kB / 0.9036 GB, free: 9.789 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/0.8434, allocations: 71.91 kB / 0.9037 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.8455, allocations: 1.662 MB / 0.9053 GB, free: 7.914 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8455, allocations: 3.938 kB / 0.9053 GB, free: 7.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.8568, allocations: 3.21 MB / 0.9085 GB, free: 4.676 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.8581, allocations: 0.5413 MB / 0.909 GB, free: 4.113 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005364/0.8587, allocations: 55.78 kB / 0.9091 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/0.8618, allocations: 271.7 kB / 0.9093 GB, free: 3.793 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/0.8622, allocations: 153.8 kB / 0.9095 GB, free: 3.641 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/0.8625, allocations: 95.84 kB / 0.9096 GB, free: 3.547 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001308/0.8638, allocations: 0.6958 MB / 0.9102 GB, free: 2.844 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8638, allocations: 0 / 0.9102 GB, free: 2.844 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0021/0.8659, allocations: 0.6349 MB / 0.9109 GB, free: 2.207 MB / 0.67 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.001769/0.8677, allocations: 0.6582 MB / 0.9115 GB, free: 1.719 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01464/0.8824, allocations: 3.67 MB / 0.9151 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.8824, allocations: 0 / 0.9151 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005855/0.8883, allocations: 1.759 MB / 0.9168 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.8908, allocations: 367.5 kB / 0.9171 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.9023, allocations: 4.27 MB / 0.9213 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.9036, allocations: 1.433 MB / 0.9227 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/0.9058, allocations: 291.1 kB / 0.923 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/0.9058, allocations: 0 / 0.923 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of Templates: time 0.3513/1.257, allocations: 41.61 MB / 0.9636 GB, free: 238.3 MB / 0.7169 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)