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.002127/0.002126, allocations: 109.3 kB / 16.37 MB, free: 6.461 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.002725/0.002725, allocations: 191.5 kB / 17.31 MB, free: 5.824 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.544/1.544, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002314/0.002313, allocations: 282.1 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 89.78 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3391, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01436/0.3535, allocations: 6.48 MB / 0.6879 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5866/0.9402, allocations: 151.6 MB / 0.836 GB, free: 316 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.9431, allocations: 27.81 kB / 0.836 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.945, allocations: 257.3 kB / 0.8363 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005532/0.9505, allocations: 0.6987 MB / 0.8369 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006411/0.957, allocations: 1.355 MB / 0.8383 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006038/0.9631, allocations: 2.676 MB / 0.8409 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004175/0.9673, allocations: 1.6 MB / 0.8424 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.9707, allocations: 1.125 MB / 0.8435 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.974, allocations: 1.303 MB / 0.8448 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001807/0.9759, allocations: 324 kB / 0.8451 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.9795, allocations: 0.6988 MB / 0.8458 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.9814, allocations: 0.6932 MB / 0.8465 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003705/0.9852, allocations: 1.275 MB / 0.8477 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008585/0.9938, allocations: 3.554 MB / 0.8512 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.9939, allocations: 0 / 0.8512 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.717e-06/0.9939, allocations: 4 kB / 0.8512 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002615/0.9942, allocations: 0 / 0.8512 GB, free: 0.6445 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.01096/1.005, allocations: 2.777 MB / 0.8539 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.578e-05/1.005, allocations: 12.03 kB / 0.8539 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/1.021, allocations: 2.108 MB / 0.856 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004203/1.025, allocations: 1.286 MB / 0.8572 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/1.025, allocations: 172.5 kB / 0.8574 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008586/1.026, allocations: 220 kB / 0.8576 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009257/1.035, allocations: 3.282 MB / 0.8608 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/1.035, allocations: 0 / 0.8608 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/1.035, allocations: 92 kB / 0.8609 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/1.036, allocations: 56 kB / 0.861 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01256/1.048, allocations: 4.205 MB / 0.8651 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01669/1.065, allocations: 7.238 MB / 0.8721 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008477/1.073, allocations: 2.883 MB / 0.8749 GB, free: 8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004163/1.078, allocations: 1.486 MB / 0.8764 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.079, allocations: 0.5074 MB / 0.8769 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004873/1.084, allocations: 1.844 MB / 0.8787 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=213): time 3.948e-06/1.084, allocations: 0 / 0.8787 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of matching and sorting (n=213): time 0.01439/1.098, allocations: 4.462 MB / 0.8831 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/1.098, allocations: 205.9 kB / 0.8832 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/1.1, allocations: 0.9447 MB / 0.8842 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002093/1.1, allocations: 65.7 kB / 0.8842 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008229/1.101, allocations: 0.7543 MB / 0.885 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006629/1.102, allocations: 0.666 MB / 0.8856 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000855/1.102, allocations: 399.2 kB / 0.886 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.103, allocations: 301.1 kB / 0.8863 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003851/1.106, allocations: 1.249 MB / 0.8875 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004199/1.111, allocations: 1.445 MB / 0.8889 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/1.119, allocations: 2.602 MB / 0.8915 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.119, allocations: 0 / 0.8915 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01147/1.13, allocations: 3.124 MB / 0.8945 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/1.13, allocations: 7.938 kB / 0.8945 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.13, allocations: 4 kB / 0.8945 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008623/1.131, allocations: 84.84 kB / 0.8946 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005461/1.137, allocations: 0.6006 MB / 0.8952 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/1.141, allocations: 1.638 MB / 0.8968 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.146, allocations: 374 kB / 0.8971 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006502/1.146, allocations: 99.89 kB / 0.8972 GB, free: 0.7227 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.002592/1.149, allocations: 441.2 kB / 0.8977 GB, free: 288 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.15, allocations: 154.1 kB / 0.8978 GB, free: 132 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0201/1.17, allocations: 3.721 MB / 0.9014 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/1.171, allocations: 20 kB / 0.9015 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.171, allocations: 0 / 0.9015 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.873e-05/1.171, allocations: 15.95 kB / 0.9015 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008321/1.179, allocations: 2.448 MB / 0.9039 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.934e-05/1.179, allocations: 4 kB / 0.9039 GB, free: 9.859 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007159/1.186, allocations: 0.5655 MB / 0.9044 GB, free: 9.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009218/1.187, allocations: 76.73 kB / 0.9045 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005519/1.188, allocations: 71.91 kB / 0.9046 GB, free: 9.145 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/1.192, allocations: 1.658 MB / 0.9062 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.192, allocations: 4.062 kB / 0.9062 GB, free: 7.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02105/1.213, allocations: 3.203 MB / 0.9093 GB, free: 4.113 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002986/1.216, allocations: 0.5529 MB / 0.9099 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/1.218, allocations: 55.78 kB / 0.9099 GB, free: 3.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00594/1.224, allocations: 267.7 kB / 0.9102 GB, free: 3.223 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008563/1.224, allocations: 149.8 kB / 0.9103 GB, free: 3.074 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006995/1.225, allocations: 95.91 kB / 0.9104 GB, free: 2.98 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003115/1.228, allocations: 0.6997 MB / 0.9111 GB, free: 2.273 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.313e-06/1.228, allocations: 0 / 0.9111 GB, free: 2.273 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004865/1.233, allocations: 0.6349 MB / 0.9117 GB, free: 1.637 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.003955/1.237, allocations: 0.6587 MB / 0.9123 GB, free: 1.148 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02101/1.258, allocations: 3.163 MB / 0.9154 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/1.258, allocations: 0 / 0.9154 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0104/1.269, allocations: 1.763 MB / 0.9172 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/1.274, allocations: 355.8 kB / 0.9175 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/1.297, allocations: 4.173 MB / 0.9216 GB, free: 7.672 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003106/1.301, allocations: 1.429 MB / 0.923 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.008681/1.309, allocations: 0.5752 MB / 0.9235 GB, free: 5.629 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002923/1.312, allocations: 243.2 kB / 0.9238 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of SimCode: time 3.146e-06/1.312, allocations: 0 / 0.9238 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of Templates: time 0.06599/1.378, allocations: 30.19 MB / 0.9532 GB, free: 7.391 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)