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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 182.7 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.489/0.489, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 105.9 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 59.91 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3585, allocations: 70.06 MB / 0.5575 GB, free: 44.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005373/0.3639, allocations: 4.481 MB / 0.5619 GB, free: 40.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1478/0.5118, allocations: 148.3 MB / 0.7067 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008114/0.5127, allocations: 19.88 kB / 0.7067 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.5132, allocations: 150.8 kB / 0.7068 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.5148, allocations: 417.8 kB / 0.7072 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.5166, allocations: 0.7173 MB / 0.7079 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.5178, allocations: 1.238 MB / 0.7091 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.5189, allocations: 0.8961 MB / 0.71 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3045/0.8234, allocations: 483.7 kB / 0.7105 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.8247, allocations: 0.5439 MB / 0.711 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005317/0.8252, allocations: 84.66 kB / 0.7111 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.8267, allocations: 422.2 kB / 0.7115 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.8271, allocations: 284.6 kB / 0.7118 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.8281, allocations: 0.5896 MB / 0.7123 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.8305, allocations: 1.737 MB / 0.714 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8305, allocations: 1 kB / 0.714 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8305, allocations: 0.5312 kB / 0.714 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.573e-05/0.8306, allocations: 0.5625 kB / 0.714 GB, free: 2.641 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002913/0.8335, allocations: 1.592 MB / 0.7156 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8336, allocations: 9.688 kB / 0.7156 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.8346, allocations: 211.3 kB / 0.7158 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.8357, allocations: 0.802 MB / 0.7166 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.8358, allocations: 89.2 kB / 0.7167 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.8359, allocations: 109.4 kB / 0.7168 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.8379, allocations: 1.138 MB / 0.7179 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.838, allocations: 2.844 kB / 0.7179 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.8381, allocations: 50.19 kB / 0.7179 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.8381, allocations: 27 kB / 0.718 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.8401, allocations: 1.233 MB / 0.7192 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004502/0.8446, allocations: 3.023 MB / 0.7221 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.8458, allocations: 0.7787 MB / 0.7229 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.8463, allocations: 294.8 kB / 0.7232 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/0.8463, allocations: 28.47 kB / 0.7232 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007688/0.8471, allocations: 458.6 kB / 0.7236 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.264e-06/0.8471, allocations: 0 / 0.7236 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.002823/0.85, allocations: 1.141 MB / 0.7247 GB, free: 16.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.8501, allocations: 188.7 kB / 0.7249 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.8508, allocations: 0.695 MB / 0.7256 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.8509, allocations: 36.23 kB / 0.7256 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.8512, allocations: 0.4919 MB / 0.7261 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.8514, allocations: 269.7 kB / 0.7264 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.8516, allocations: 159.4 kB / 0.7265 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8517, allocations: 395.6 kB / 0.7269 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.8521, allocations: 260.3 kB / 0.7272 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.8527, allocations: 345.4 kB / 0.7275 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.8539, allocations: 0.6009 MB / 0.7281 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.8539, allocations: 0.5 kB / 0.7281 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002105/0.856, allocations: 0.8443 MB / 0.7289 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.856, allocations: 6.344 kB / 0.7289 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.856, allocations: 2.625 kB / 0.7289 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.8566, allocations: 79.64 kB / 0.729 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.8572, allocations: 164.6 kB / 0.7291 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.8591, allocations: 1.515 MB / 0.7306 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000689/0.8598, allocations: 80.69 kB / 0.7307 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.8599, allocations: 39.25 kB / 0.7307 GB, free: 13.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.00049/0.8604, allocations: 286.1 kB / 0.731 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.8606, allocations: 89.09 kB / 0.7311 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.8627, allocations: 1.026 MB / 0.7321 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.8627, allocations: 8.656 kB / 0.7321 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.8627, allocations: 0 / 0.7321 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.8627, allocations: 9.562 kB / 0.7321 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.8637, allocations: 0.9802 MB / 0.7331 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8637, allocations: 0 / 0.7331 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.8642, allocations: 148.8 kB / 0.7332 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/0.8647, allocations: 89.23 kB / 0.7333 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.8648, allocations: 22.06 kB / 0.7333 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.8664, allocations: 1.54 MB / 0.7348 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8665, allocations: 0.625 kB / 0.7348 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.8691, allocations: 1.936 MB / 0.7367 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.8695, allocations: 273.6 kB / 0.737 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.8696, allocations: 20.5 kB / 0.737 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.8702, allocations: 52.25 kB / 0.737 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.8703, allocations: 65.36 kB / 0.7371 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.8704, allocations: 27.12 kB / 0.7371 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005424/0.8709, allocations: 498.9 kB / 0.7376 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8709, allocations: 6.812 kB / 0.7376 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009813/0.8719, allocations: 344.2 kB / 0.7379 GB, free: 10.44 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001226/0.8731, allocations: 0.5984 MB / 0.7385 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.8747, allocations: 0.7984 MB / 0.7393 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8747, allocations: 0 / 0.7393 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008146/0.8755, allocations: 0.4999 MB / 0.7398 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.8768, allocations: 273.3 kB / 0.7401 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.8817, allocations: 2.958 MB / 0.7429 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.8823, allocations: 1.103 MB / 0.744 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009383/0.8833, allocations: 269.7 kB / 0.7443 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.8835, allocations: 98.91 kB / 0.7444 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/0.8835, allocations: 0 / 0.7444 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of Templates: time 0.02408/0.9076, allocations: 14.33 MB / 0.7584 GB, free: 3.984 MB / 0.5261 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 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)