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.001376/0.001376, allocations: 112.4 kB / 16.42 MB, free: 6.469 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.001525/0.001525, allocations: 187.9 kB / 17.35 MB, free: 5.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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 279.6 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9456/0.9456, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.448, allocations: 86.97 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007532/0.4556, allocations: 6.474 MB / 0.7733 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1544/0.61, allocations: 151.6 MB / 0.9214 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.6112, allocations: 27.88 kB / 0.9214 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.6122, allocations: 253.3 kB / 0.9217 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.6149, allocations: 0.6917 MB / 0.9224 GB, free: 4.191 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.6183, allocations: 1.363 MB / 0.9237 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003289/0.6216, allocations: 2.672 MB / 0.9263 GB, free: 156 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.6238, allocations: 1.592 MB / 0.9279 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001616/0.6254, allocations: 1.156 MB / 0.929 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.6269, allocations: 1.303 MB / 0.9303 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.6273, allocations: 324 kB / 0.9306 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.6286, allocations: 0.6949 MB / 0.9312 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005453/0.6291, allocations: 0.701 MB / 0.9319 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.6302, allocations: 1.267 MB / 0.9332 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.6336, allocations: 3.562 MB / 0.9366 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6336, allocations: 4 kB / 0.9367 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6336, allocations: 0 / 0.9367 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.89e-05/0.6336, allocations: 0 / 0.9367 GB, free: 5.461 MB / 0.7012 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.006057/0.6397, allocations: 2.784 MB / 0.9394 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6398, allocations: 8.031 kB / 0.9394 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/0.6562, allocations: 2.108 MB / 0.9414 GB, free: 492 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.6589, allocations: 1.278 MB / 0.9427 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.659, allocations: 168.5 kB / 0.9428 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/0.6595, allocations: 220 kB / 0.9431 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009105/0.6686, allocations: 3.286 MB / 0.9463 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/0.6686, allocations: 0 / 0.9463 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/0.6689, allocations: 95.98 kB / 0.9464 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.669, allocations: 55.98 kB / 0.9464 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.682, allocations: 4.205 MB / 0.9505 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3532/1.035, allocations: 7.214 MB / 0.9576 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.047, allocations: 2.884 MB / 0.9604 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005288/1.053, allocations: 1.491 MB / 0.9618 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009032/1.054, allocations: 0.4985 MB / 0.9623 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006408/1.06, allocations: 1.853 MB / 0.9641 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 8.355e-06/1.06, allocations: 0 / 0.9641 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01733/1.078, allocations: 4.46 MB / 0.9685 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/1.078, allocations: 212.1 kB / 0.9687 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/1.079, allocations: 0.9444 MB / 0.9696 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004909/1.08, allocations: 65.39 kB / 0.9697 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/1.08, allocations: 0.7401 MB / 0.9704 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008127/1.081, allocations: 0.6861 MB / 0.9711 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.082, allocations: 396.6 kB / 0.9714 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/1.082, allocations: 302.7 kB / 0.9717 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/1.086, allocations: 1.257 MB / 0.973 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004394/1.091, allocations: 1.436 MB / 0.9744 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008501/1.099, allocations: 2.607 MB / 0.9769 GB, free: 176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/1.099, allocations: 0 / 0.9769 GB, free: 176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01037/1.11, allocations: 3.118 MB / 0.98 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.11, allocations: 8 kB / 0.98 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.11, allocations: 3.938 kB / 0.98 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/1.11, allocations: 86.86 kB / 0.98 GB, free: 173 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/1.114, allocations: 0.6045 MB / 0.9806 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/1.116, allocations: 1.636 MB / 0.9822 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/1.12, allocations: 364.8 kB / 0.9826 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00048/1.12, allocations: 99.89 kB / 0.9827 GB, free: 170.1 MB / 0.7169 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.001356/1.121, allocations: 446.2 kB / 0.9831 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/1.122, allocations: 150.1 kB / 0.9832 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.133, allocations: 3.718 MB / 0.9869 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/1.133, allocations: 7.969 kB / 0.9869 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.133, allocations: 3.062 kB / 0.9869 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009322/1.134, allocations: 0.5451 MB / 0.9874 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000534/1.135, allocations: 59.83 kB / 0.9875 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/1.138, allocations: 264.7 kB / 0.9877 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/1.138, allocations: 149.8 kB / 0.9879 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01211/1.15, allocations: 3.445 MB / 0.9912 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0138/1.164, allocations: 5.045 MB / 0.9962 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004212/1.168, allocations: 1.522 MB / 0.9977 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00104/1.17, allocations: 0.6958 MB / 0.9983 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of Backend: time 7.92e-07/1.17, allocations: 0 / 0.9983 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008118/1.178, allocations: 2.595 MB / 1.001 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005535/1.183, allocations: 3.468 MB / 1.004 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.05499/1.238, allocations: 40.17 MB / 1.043 GB, free: 108.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)