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.001288/0.001288, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6959/0.6959, allocations: 115.5 MB / 407.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 495.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 77.53 MB / 0.5599 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008882/0.169, allocations: 7.824 MB / 0.5676 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4766/0.6456, allocations: 147.9 MB / 0.712 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.6472, allocations: 23.88 kB / 0.712 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.6482, allocations: 238 kB / 0.7123 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.651, allocations: 0.7304 MB / 0.713 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.6539, allocations: 1.229 MB / 0.7142 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004032/0.6579, allocations: 2.775 MB / 0.7169 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.6599, allocations: 1.406 MB / 0.7183 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.6611, allocations: 0.8127 MB / 0.719 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.6623, allocations: 0.9692 MB / 0.72 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.6625, allocations: 64 kB / 0.7201 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.6634, allocations: 435.6 kB / 0.7205 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.6638, allocations: 398 kB / 0.7209 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008967/0.6647, allocations: 1.019 MB / 0.7218 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.6676, allocations: 3.305 MB / 0.7251 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6676, allocations: 0 / 0.7251 GB, free: 13.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6676, allocations: 4 kB / 0.7251 GB, free: 13.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.109e-05/0.6677, allocations: 0 / 0.7251 GB, free: 13.08 MB / 0.545 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.005393/0.6731, allocations: 2.32 MB / 0.7273 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.6731, allocations: 8.031 kB / 0.7274 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/0.6898, allocations: 2.304 MB / 0.7296 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/0.6924, allocations: 1.267 MB / 0.7308 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.6926, allocations: 171.4 kB / 0.731 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.693, allocations: 220 kB / 0.7312 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008851/0.7019, allocations: 3.348 MB / 0.7345 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.7019, allocations: 0 / 0.7345 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.7022, allocations: 99.98 kB / 0.7346 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/0.7023, allocations: 52 kB / 0.7346 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/0.715, allocations: 4.346 MB / 0.7389 GB, free: 14.71 MB / 0.5606 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.01683/0.7319, allocations: 8.156 MB / 0.7468 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009029/0.7409, allocations: 2.895 MB / 0.7497 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004506/0.7455, allocations: 1.508 MB / 0.7511 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007842/0.7463, allocations: 0.5035 MB / 0.7516 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005194/0.7515, allocations: 1.855 MB / 0.7534 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 3.837e-06/0.7515, allocations: 0 / 0.7534 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.01728/0.7688, allocations: 4.52 MB / 0.7579 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.7689, allocations: 201.9 kB / 0.758 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.7704, allocations: 0.941 MB / 0.759 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.7706, allocations: 73.7 kB / 0.759 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006236/0.7712, allocations: 0.7464 MB / 0.7598 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006945/0.7719, allocations: 0.6737 MB / 0.7604 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.7723, allocations: 149.6 kB / 0.7606 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.7724, allocations: 301.1 kB / 0.7609 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004496/0.7769, allocations: 1.277 MB / 0.7621 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/0.7814, allocations: 1.445 MB / 0.7635 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008929/0.7904, allocations: 2.641 MB / 0.7661 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7904, allocations: 0 / 0.7661 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01049/0.8009, allocations: 3.151 MB / 0.7692 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.801, allocations: 4 kB / 0.7692 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.801, allocations: 4 kB / 0.7692 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.8016, allocations: 96.77 kB / 0.7693 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003965/0.8056, allocations: 0.6007 MB / 0.7699 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.8079, allocations: 1.537 MB / 0.7714 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003414/0.8113, allocations: 399.6 kB / 0.7717 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.8116, allocations: 102.8 kB / 0.7718 GB, free: 12.25 MB / 0.5919 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.00114/0.8127, allocations: 444 kB / 0.7723 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/0.8131, allocations: 154.2 kB / 0.7724 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.825, allocations: 3.755 MB / 0.7761 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.8251, allocations: 23.94 kB / 0.7761 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8251, allocations: 0 / 0.7761 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.765e-05/0.8252, allocations: 15.95 kB / 0.7761 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.8284, allocations: 2.456 MB / 0.7785 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.8284, allocations: 0 / 0.7785 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00374/0.8322, allocations: 0.5617 MB / 0.7791 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006063/0.8328, allocations: 92.72 kB / 0.7791 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/0.833, allocations: 71.91 kB / 0.7792 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.835, allocations: 1.551 MB / 0.7807 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.835, allocations: 144 / 0.7807 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.8459, allocations: 3.246 MB / 0.7839 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/0.8472, allocations: 0.5762 MB / 0.7845 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.8476, allocations: 40 kB / 0.7845 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/0.8507, allocations: 303.6 kB / 0.7848 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/0.8511, allocations: 157.8 kB / 0.7849 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/0.8514, allocations: 95.91 kB / 0.785 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001135/0.8525, allocations: 0.6919 MB / 0.7857 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.71e-07/0.8525, allocations: 7.938 kB / 0.7857 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002183/0.8547, allocations: 0.6701 MB / 0.7864 GB, free: 13.09 MB / 0.6075 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.001649/0.8564, allocations: 0.6739 MB / 0.787 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01041/0.8668, allocations: 3.182 MB / 0.7901 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.8668, allocations: 0 / 0.7901 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/0.8722, allocations: 1.775 MB / 0.7919 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.8742, allocations: 362 kB / 0.7922 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/0.8839, allocations: 5.117 MB / 0.7972 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.8849, allocations: 1.434 MB / 0.7986 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003414/0.8883, allocations: 0.5716 MB / 0.7992 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.8894, allocations: 235.2 kB / 0.7994 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.8894, allocations: 0 / 0.7994 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of Templates: time 0.05418/0.9436, allocations: 29.81 MB / 0.8285 GB, free: 2.258 MB / 0.6387 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)