Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 109.2 kB / 17.03 MB, free: 5.699 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.00117/0.00117, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3852, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006881/0.3922, allocations: 5.937 MB / 0.5634 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1517/0.5439, allocations: 150.8 MB / 0.7107 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009752/0.5449, allocations: 23.88 kB / 0.7107 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.5456, allocations: 241.7 kB / 0.7109 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.5474, allocations: 0.6208 MB / 0.7115 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.5496, allocations: 0.8755 MB / 0.7124 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001663/0.5512, allocations: 1.65 MB / 0.714 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.5523, allocations: 0.8696 MB / 0.7148 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006784/0.553, allocations: 0.615 MB / 0.7154 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.5537, allocations: 0.6547 MB / 0.7161 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.5539, allocations: 156 kB / 0.7162 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009476/0.5548, allocations: 0.5113 MB / 0.7167 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.5551, allocations: 374.8 kB / 0.7171 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.5558, allocations: 0.7502 MB / 0.7178 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.5577, allocations: 2.023 MB / 0.7198 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5577, allocations: 0 / 0.7198 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.866e-06/0.5577, allocations: 0 / 0.7198 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.5577, allocations: 3.938 kB / 0.7198 GB, free: 13.85 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002631/0.5603, allocations: 1.705 MB / 0.7215 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.5604, allocations: 12.03 kB / 0.7215 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009217/0.5613, allocations: 223 kB / 0.7217 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.5626, allocations: 0.8716 MB / 0.7225 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.5627, allocations: 90.41 kB / 0.7226 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.5628, allocations: 116 kB / 0.7227 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.5647, allocations: 1.206 MB / 0.7239 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5647, allocations: 0 / 0.7239 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/0.5648, allocations: 56 kB / 0.724 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.5648, allocations: 28 kB / 0.724 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.5669, allocations: 1.281 MB / 0.7252 GB, free: 8.105 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.004767/0.5716, allocations: 3.547 MB / 0.7287 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.5732, allocations: 0.8646 MB / 0.7295 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/0.5737, allocations: 328.3 kB / 0.7299 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.5738, allocations: 32.61 kB / 0.7299 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/0.5747, allocations: 0.5158 MB / 0.7304 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=87): time 2.214e-06/0.5747, allocations: 0 / 0.7304 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87): time 0.003228/0.578, allocations: 1.282 MB / 0.7316 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.5781, allocations: 192.9 kB / 0.7318 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/0.579, allocations: 0.7429 MB / 0.7326 GB, free: 336 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/0.5791, allocations: 41.7 kB / 0.7326 GB, free: 288 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/0.5795, allocations: 0.5121 MB / 0.7331 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.5797, allocations: 287.9 kB / 0.7334 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.5799, allocations: 178.4 kB / 0.7335 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5801, allocations: 338 kB / 0.7339 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/0.5806, allocations: 297.8 kB / 0.7341 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.5813, allocations: 391.1 kB / 0.7345 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.5825, allocations: 0.6555 MB / 0.7352 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5825, allocations: 0 / 0.7352 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002075/0.5846, allocations: 0.9267 MB / 0.7361 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5846, allocations: 8 kB / 0.7361 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.5846, allocations: 7.875 kB / 0.7361 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.5852, allocations: 88.86 kB / 0.7362 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007287/0.586, allocations: 171.8 kB / 0.7363 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.5881, allocations: 1.627 MB / 0.7379 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.5888, allocations: 103.2 kB / 0.738 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.5889, allocations: 44.03 kB / 0.7381 GB, free: 10.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0004432/0.5894, allocations: 287.4 kB / 0.7383 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.5895, allocations: 94.88 kB / 0.7384 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.5921, allocations: 1.129 MB / 0.7395 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.5921, allocations: 11.94 kB / 0.7395 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5921, allocations: 0 / 0.7395 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.5922, allocations: 3.984 kB / 0.7395 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.5937, allocations: 1.048 MB / 0.7406 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5937, allocations: 8 kB / 0.7406 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.5943, allocations: 151.7 kB / 0.7407 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.5948, allocations: 72.78 kB / 0.7408 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.5949, allocations: 31.98 kB / 0.7408 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.5968, allocations: 1.658 MB / 0.7424 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5969, allocations: 0 / 0.7424 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.5989, allocations: 0.9863 MB / 0.7434 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.5994, allocations: 287.6 kB / 0.7437 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5995, allocations: 20 kB / 0.7437 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.6002, allocations: 65.59 kB / 0.7438 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.6003, allocations: 76.89 kB / 0.7438 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.6004, allocations: 43.97 kB / 0.7439 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006527/0.6011, allocations: 0.5146 MB / 0.7444 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6011, allocations: 0 / 0.7444 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009697/0.602, allocations: 390.8 kB / 0.7447 GB, free: 3.363 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001311/0.6034, allocations: 0.6023 MB / 0.7453 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.605, allocations: 0.8861 MB / 0.7462 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.605, allocations: 0 / 0.7462 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009421/0.606, allocations: 0.5509 MB / 0.7467 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.6071, allocations: 325.8 kB / 0.747 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2294/0.8366, allocations: 1.95 MB / 0.7489 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.8373, allocations: 1.107 MB / 0.75 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001044/0.8384, allocations: 288.4 kB / 0.7503 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.8387, allocations: 115.7 kB / 0.7504 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.8387, allocations: 1.219 kB / 0.7504 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.03235/0.8711, allocations: 16.4 MB / 0.7664 GB, free: 169.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)