Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001207/0.001207, allocations: 114.8 kB / 17.08 MB, free: 5.969 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.001224/0.001224, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 64.55 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.129, allocations: 76.17 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009235/0.1383, allocations: 8.406 MB / 0.6409 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4644/0.6027, allocations: 151.8 MB / 0.7892 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.604, allocations: 24.44 kB / 0.7892 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.6049, allocations: 328.2 kB / 0.7895 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.6073, allocations: 0.8632 MB / 0.7904 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.6097, allocations: 1.38 MB / 0.7917 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003018/0.6127, allocations: 3 MB / 0.7946 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.6145, allocations: 1.499 MB / 0.7961 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.6161, allocations: 1.199 MB / 0.7973 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.6175, allocations: 1.35 MB / 0.7986 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.6179, allocations: 325.2 kB / 0.7989 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.6189, allocations: 0.7069 MB / 0.7996 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.6194, allocations: 0.6869 MB / 0.8003 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.6205, allocations: 1.334 MB / 0.8016 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.6237, allocations: 3.669 MB / 0.8051 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6237, allocations: 0 / 0.8051 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6237, allocations: 0 / 0.8051 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.015e-05/0.6238, allocations: 0 / 0.8051 GB, free: 10.6 MB / 0.5919 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.005998/0.6298, allocations: 2.84 MB / 0.8079 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6298, allocations: 9.562 kB / 0.8079 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.6444, allocations: 2.11 MB / 0.81 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.6471, allocations: 1.29 MB / 0.8113 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.6473, allocations: 173.3 kB / 0.8114 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004321/0.6477, allocations: 218 kB / 0.8116 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008584/0.6563, allocations: 3.28 MB / 0.8148 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.6563, allocations: 0 / 0.8148 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002645/0.6566, allocations: 92.28 kB / 0.8149 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.6567, allocations: 54.81 kB / 0.815 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.6683, allocations: 4.207 MB / 0.8191 GB, free: 2.785 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.6837, allocations: 8.026 MB / 0.8269 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008308/0.692, allocations: 2.887 MB / 0.8297 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004155/0.6962, allocations: 1.494 MB / 0.8312 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007056/0.6969, allocations: 0.5112 MB / 0.8317 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0048/0.7017, allocations: 1.84 MB / 0.8335 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=213): time 4.839e-06/0.7017, allocations: 3.984 kB / 0.8335 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=213): time 0.01415/0.7159, allocations: 4.47 MB / 0.8379 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.716, allocations: 205.9 kB / 0.8381 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.7174, allocations: 0.9526 MB / 0.839 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.7177, allocations: 61.7 kB / 0.839 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005623/0.7182, allocations: 0.7388 MB / 0.8398 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006217/0.7189, allocations: 0.6838 MB / 0.8404 GB, free: 460 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006907/0.7196, allocations: 391.2 kB / 0.8408 GB, free: 64 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.7197, allocations: 301.1 kB / 0.8411 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004033/0.7237, allocations: 1.266 MB / 0.8423 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004217/0.7279, allocations: 1.434 MB / 0.8437 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008194/0.7362, allocations: 2.61 MB / 0.8463 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.7362, allocations: 0 / 0.8463 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009751/0.746, allocations: 3.128 MB / 0.8493 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.746, allocations: 4 kB / 0.8493 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.746, allocations: 0 / 0.8493 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.7466, allocations: 92.83 kB / 0.8494 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/0.7501, allocations: 0.5967 MB / 0.85 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.7523, allocations: 1.638 MB / 0.8516 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/0.7556, allocations: 374 kB / 0.852 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.7558, allocations: 103.9 kB / 0.8521 GB, free: 4.328 MB / 0.6231 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.001043/0.7569, allocations: 432.9 kB / 0.8525 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/0.7573, allocations: 162 kB / 0.8526 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.768, allocations: 3.712 MB / 0.8563 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.701e-05/0.768, allocations: 20.17 kB / 0.8563 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.768, allocations: 7.688 kB / 0.8563 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.7681, allocations: 15.91 kB / 0.8563 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002951/0.771, allocations: 2.441 MB / 0.8587 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.771, allocations: 0 / 0.8587 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/0.7744, allocations: 0.5578 MB / 0.8592 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004387/0.7748, allocations: 84.72 kB / 0.8593 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.775, allocations: 75.91 kB / 0.8594 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.7768, allocations: 1.654 MB / 0.861 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7768, allocations: 3.984 kB / 0.861 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009258/0.7861, allocations: 3.214 MB / 0.8641 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009107/0.787, allocations: 0.5412 MB / 0.8647 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.7873, allocations: 51.88 kB / 0.8647 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/0.79, allocations: 271.7 kB / 0.865 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.7903, allocations: 149.8 kB / 0.8651 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/0.7906, allocations: 91.91 kB / 0.8652 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000896/0.7915, allocations: 0.7035 MB / 0.8659 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7915, allocations: 0 / 0.8659 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00159/0.7931, allocations: 0.6778 MB / 0.8666 GB, free: 5.27 MB / 0.6387 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.001405/0.7945, allocations: 0.656 MB / 0.8672 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008933/0.8034, allocations: 3.17 MB / 0.8703 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8034, allocations: 3.938 kB / 0.8703 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004661/0.8081, allocations: 1.759 MB / 0.872 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.8099, allocations: 397.8 kB / 0.8724 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008559/0.8185, allocations: 4.127 MB / 0.8764 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008933/0.8194, allocations: 1.418 MB / 0.8778 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/0.8209, allocations: 291.1 kB / 0.8781 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.8209, allocations: 0 / 0.8781 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of Templates: time 0.04994/0.8709, allocations: 42.42 MB / 0.9195 GB, free: 15.2 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)