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.001731/0.001731, allocations: 111.7 kB / 16.41 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.001918/0.001918, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 296.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 91.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4612, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008458/0.4697, allocations: 6.494 MB / 0.7734 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.6467, allocations: 152 MB / 0.9218 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009115/0.6476, allocations: 23.88 kB / 0.9219 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000695/0.6483, allocations: 257.3 kB / 0.9221 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.6502, allocations: 0.7081 MB / 0.9228 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.6529, allocations: 1.358 MB / 0.9241 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002612/0.6555, allocations: 2.664 MB / 0.9267 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.6571, allocations: 1.143 MB / 0.9279 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.6587, allocations: 1.153 MB / 0.929 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.6602, allocations: 1.307 MB / 0.9303 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.6606, allocations: 324 kB / 0.9306 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.6619, allocations: 0.6988 MB / 0.9312 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006133/0.6625, allocations: 0.7049 MB / 0.9319 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.6636, allocations: 1.259 MB / 0.9332 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003704/0.6673, allocations: 3.575 MB / 0.9367 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.6673, allocations: 3.984 kB / 0.9367 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6673, allocations: 0 / 0.9367 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.463e-05/0.6674, allocations: 0 / 0.9367 GB, free: 5.516 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.006138/0.6735, allocations: 2.85 MB / 0.9394 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6735, allocations: 12.03 kB / 0.9395 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.6899, allocations: 2.117 MB / 0.9415 GB, free: 464 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.6925, allocations: 1.299 MB / 0.9428 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.6926, allocations: 168.5 kB / 0.9429 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004171/0.693, allocations: 212 kB / 0.9432 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008735/0.7018, allocations: 3.29 MB / 0.9464 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.7018, allocations: 0 / 0.9464 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.7021, allocations: 92 kB / 0.9465 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/0.7021, allocations: 56 kB / 0.9465 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.7151, allocations: 4.205 MB / 0.9506 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3883/1.103, allocations: 7.239 MB / 0.9577 GB, free: 184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01042/1.114, allocations: 2.711 MB / 0.9603 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004438/1.118, allocations: 1.352 MB / 0.9616 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006888/1.119, allocations: 0.5083 MB / 0.9621 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005125/1.124, allocations: 1.846 MB / 0.9639 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 4.027e-06/1.124, allocations: 0 / 0.9639 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01439/1.138, allocations: 4.465 MB / 0.9683 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/1.139, allocations: 212.4 kB / 0.9685 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.14, allocations: 0.9459 MB / 0.9694 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002116/1.14, allocations: 65.39 kB / 0.9695 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/1.141, allocations: 0.7562 MB / 0.9702 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000496/1.141, allocations: 0.715 MB / 0.9709 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/1.142, allocations: 402.6 kB / 0.9713 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.481e-05/1.142, allocations: 301.1 kB / 0.9716 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/1.146, allocations: 1.254 MB / 0.9728 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/1.149, allocations: 1.433 MB / 0.9742 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007522/1.157, allocations: 2.61 MB / 0.9768 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.157, allocations: 4 kB / 0.9768 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008989/1.166, allocations: 3.121 MB / 0.9798 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.166, allocations: 7.938 kB / 0.9798 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.166, allocations: 4 kB / 0.9798 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/1.167, allocations: 90.84 kB / 0.9799 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003453/1.17, allocations: 0.5967 MB / 0.9805 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/1.172, allocations: 1.638 MB / 0.9821 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/1.175, allocations: 368.5 kB / 0.9825 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/1.175, allocations: 99.89 kB / 0.9826 GB, free: 170.5 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.001046/1.176, allocations: 441.5 kB / 0.983 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/1.177, allocations: 163 kB / 0.9831 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/1.187, allocations: 3.718 MB / 0.9868 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.187, allocations: 24 kB / 0.9868 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.187, allocations: 4 kB / 0.9868 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.187, allocations: 11.95 kB / 0.9868 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/1.189, allocations: 2.452 MB / 0.9892 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/1.189, allocations: 3.984 kB / 0.9892 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/1.193, allocations: 0.5617 MB / 0.9897 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004168/1.193, allocations: 76.78 kB / 0.9898 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/1.193, allocations: 67.92 kB / 0.9899 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/1.195, allocations: 1.661 MB / 0.9915 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.195, allocations: 3.938 kB / 0.9915 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008695/1.203, allocations: 3.211 MB / 0.9946 GB, free: 158 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008316/1.204, allocations: 0.5565 MB / 0.9952 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/1.204, allocations: 63.88 kB / 0.9953 GB, free: 157.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.207, allocations: 259.8 kB / 0.9955 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/1.207, allocations: 153.8 kB / 0.9956 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/1.208, allocations: 95.91 kB / 0.9957 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008009/1.208, allocations: 0.6981 MB / 0.9964 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.208, allocations: 4 kB / 0.9964 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0016/1.21, allocations: 0.6467 MB / 0.9971 GB, free: 155.6 MB / 0.7169 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.001991/1.212, allocations: 0.6695 MB / 0.9977 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008656/1.221, allocations: 3.029 MB / 1.001 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.221, allocations: 0 / 1.001 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00438/1.225, allocations: 1.618 MB / 1.002 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/1.227, allocations: 369 kB / 1.003 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009219/1.236, allocations: 4.227 MB / 1.007 GB, free: 145.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/1.237, allocations: 1.434 MB / 1.008 GB, free: 144.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002515/1.239, allocations: 0.5714 MB / 1.009 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009346/1.24, allocations: 239.2 kB / 1.009 GB, free: 143.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.793e-06/1.24, allocations: 0 / 1.009 GB, free: 143.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.04446/1.285, allocations: 30.7 MB / 1.039 GB, free: 113.1 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)