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.00149/0.001491, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001725/0.001725, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.404/1.404, 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.00222/0.00222, allocations: 297 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9748/0.9748, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4313, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008041/0.4394, allocations: 6.477 MB / 0.7734 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1671/0.6065, allocations: 151.6 MB / 0.9214 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.6079, allocations: 23.88 kB / 0.9214 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6089, allocations: 261.3 kB / 0.9217 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.6115, allocations: 0.6944 MB / 0.9224 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.6146, allocations: 1.376 MB / 0.9237 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.6178, allocations: 2.668 MB / 0.9263 GB, free: 172 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.6202, allocations: 1.592 MB / 0.9279 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.6219, allocations: 1.149 MB / 0.929 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.6236, allocations: 1.299 MB / 0.9303 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000749/0.6244, allocations: 327.9 kB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.626, allocations: 0.7027 MB / 0.9313 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008252/0.6269, allocations: 0.6933 MB / 0.9319 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.6285, allocations: 1.267 MB / 0.9332 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.6325, allocations: 3.558 MB / 0.9367 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6326, allocations: 8 kB / 0.9367 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6326, allocations: 3.938 kB / 0.9367 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001198/0.6327, allocations: 0 / 0.9367 GB, free: 5.48 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.007351/0.6401, allocations: 2.775 MB / 0.9394 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6401, allocations: 8.031 kB / 0.9394 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.6563, allocations: 2.12 MB / 0.9415 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.6592, allocations: 1.286 MB / 0.9427 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.6594, allocations: 168.5 kB / 0.9429 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006647/0.6601, allocations: 220 kB / 0.9431 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009898/0.67, allocations: 3.278 MB / 0.9463 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.6701, allocations: 3.938 kB / 0.9463 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.6705, allocations: 92 kB / 0.9464 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.6705, allocations: 56 kB / 0.9464 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.6841, allocations: 4.205 MB / 0.9505 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3632/1.047, allocations: 7.218 MB / 0.9576 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/1.058, allocations: 2.885 MB / 0.9604 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/1.062, allocations: 1.49 MB / 0.9619 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/1.063, allocations: 0.5117 MB / 0.9624 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00509/1.068, allocations: 1.84 MB / 0.9642 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 4.739e-06/1.068, allocations: 0 / 0.9642 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01439/1.082, allocations: 4.461 MB / 0.9685 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.082, allocations: 212.6 kB / 0.9687 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.084, allocations: 0.945 MB / 0.9696 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/1.084, allocations: 63.86 kB / 0.9697 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005294/1.084, allocations: 0.7432 MB / 0.9704 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/1.085, allocations: 0.6769 MB / 0.9711 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/1.086, allocations: 401.3 kB / 0.9715 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.417e-05/1.086, allocations: 305 kB / 0.9718 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/1.09, allocations: 1.254 MB / 0.973 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004111/1.094, allocations: 1.437 MB / 0.9744 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/1.102, allocations: 2.605 MB / 0.9769 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/1.102, allocations: 0 / 0.9769 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009402/1.111, allocations: 3.119 MB / 0.98 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.111, allocations: 8 kB / 0.98 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.111, allocations: 7.109 kB / 0.98 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/1.112, allocations: 80.78 kB / 0.9801 GB, free: 173 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003521/1.115, allocations: 0.6084 MB / 0.9807 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/1.117, allocations: 1.634 MB / 0.9823 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/1.12, allocations: 366.1 kB / 0.9826 GB, free: 170.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003798/1.121, allocations: 99.89 kB / 0.9827 GB, free: 170.2 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.001463/1.122, allocations: 436.7 kB / 0.9831 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/1.123, allocations: 153.1 kB / 0.9833 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.133, allocations: 3.721 MB / 0.9869 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/1.133, allocations: 7.969 kB / 0.9869 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.133, allocations: 0 / 0.9869 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/1.134, allocations: 0.5451 MB / 0.9874 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003636/1.135, allocations: 58.34 kB / 0.9875 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002788/1.138, allocations: 267.7 kB / 0.9877 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/1.138, allocations: 149.8 kB / 0.9879 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01085/1.149, allocations: 3.448 MB / 0.9913 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01274/1.161, allocations: 5.041 MB / 0.9962 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003942/1.165, allocations: 1.523 MB / 0.9977 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008698/1.166, allocations: 0.6958 MB / 0.9983 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of Backend: time 5.41e-07/1.166, allocations: 4 kB / 0.9983 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007532/1.174, allocations: 2.585 MB / 1.001 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004542/1.178, allocations: 3.476 MB / 1.004 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.04846/1.227, allocations: 40.18 MB / 1.044 GB, free: 108.4 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)