Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001653, allocations: 102.2 kB / 16.4 MB, free: 6.484 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.001916/0.001916, allocations: 192 kB / 17.34 MB, free: 5.727 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7454/0.7454, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.03 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 77.94 MB / 0.644 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005829/0.1399, allocations: 4.826 MB / 0.6488 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4659/0.6058, allocations: 150.6 MB / 0.7958 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.6066, allocations: 15.41 kB / 0.7958 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.6072, allocations: 195.2 kB / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.6087, allocations: 0.547 MB / 0.7966 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.6104, allocations: 0.8346 MB / 0.7974 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.6115, allocations: 1.383 MB / 0.7987 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000686/0.6122, allocations: 0.578 MB / 0.7993 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.6127, allocations: 484.9 kB / 0.7998 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/0.6132, allocations: 0.4953 MB / 0.8002 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.6134, allocations: 114.8 kB / 0.8003 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007405/0.6141, allocations: 490.4 kB / 0.8008 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.6144, allocations: 295.2 kB / 0.8011 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.6148, allocations: 0.5571 MB / 0.8016 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.6164, allocations: 1.629 MB / 0.8032 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6164, allocations: 0 / 0.8032 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6164, allocations: 0 / 0.8032 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.6165, allocations: 0 / 0.8032 GB, free: 11.63 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002345/0.6188, allocations: 1.47 MB / 0.8047 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6189, allocations: 8.5 kB / 0.8047 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.619, allocations: 131.5 kB / 0.8048 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/0.6199, allocations: 192.4 kB / 0.805 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.621, allocations: 0.7681 MB / 0.8057 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.6211, allocations: 69.89 kB / 0.8058 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.6212, allocations: 76.41 kB / 0.8059 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.6226, allocations: 0.9174 MB / 0.8068 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.6227, allocations: 0 / 0.8068 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.6227, allocations: 37.59 kB / 0.8068 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.6228, allocations: 18.31 kB / 0.8068 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6245, allocations: 1.104 MB / 0.8079 GB, free: 9.922 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.003639/0.6281, allocations: 2.689 MB / 0.8105 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.6296, allocations: 0.7962 MB / 0.8113 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.63, allocations: 301.3 kB / 0.8116 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.389e-05/0.6301, allocations: 36.14 kB / 0.8116 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008102/0.631, allocations: 494.1 kB / 0.8121 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.565e-06/0.631, allocations: 0 / 0.8121 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.003098/0.6341, allocations: 1.197 MB / 0.8133 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6342, allocations: 199.5 kB / 0.8135 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.635, allocations: 0.6232 MB / 0.8141 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.256e-05/0.6351, allocations: 42.42 kB / 0.8141 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.6354, allocations: 404.4 kB / 0.8145 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.6356, allocations: 263 kB / 0.8147 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.6358, allocations: 153.7 kB / 0.8149 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.636, allocations: 387.6 kB / 0.8153 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.6364, allocations: 253.6 kB / 0.8155 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.637, allocations: 355.8 kB / 0.8158 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.638, allocations: 0.5842 MB / 0.8164 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6381, allocations: 3.75 kB / 0.8164 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00177/0.6398, allocations: 0.8052 MB / 0.8172 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6399, allocations: 4.812 kB / 0.8172 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6399, allocations: 6.719 kB / 0.8172 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.6405, allocations: 87.45 kB / 0.8173 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.6411, allocations: 157 kB / 0.8174 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.6431, allocations: 1.632 MB / 0.819 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/0.6438, allocations: 103.3 kB / 0.8191 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.6439, allocations: 27.73 kB / 0.8192 GB, free: 3.113 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (87): * Single equations (assignments): 86 * 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.0004183/0.6443, allocations: 263.4 kB / 0.8194 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6445, allocations: 92.34 kB / 0.8195 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.6467, allocations: 1.054 MB / 0.8205 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6468, allocations: 7.375 kB / 0.8205 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.6468, allocations: 0 / 0.8205 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.6468, allocations: 11.91 kB / 0.8205 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000952/0.6477, allocations: 0.8932 MB / 0.8214 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6478, allocations: 0 / 0.8214 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005497/0.6483, allocations: 150.2 kB / 0.8216 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004324/0.6488, allocations: 68.05 kB / 0.8216 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/0.6488, allocations: 29.56 kB / 0.8217 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.6507, allocations: 1.659 MB / 0.8233 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6507, allocations: 3.984 kB / 0.8233 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.6525, allocations: 0.9274 MB / 0.8242 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.6529, allocations: 275.8 kB / 0.8245 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.653, allocations: 21.28 kB / 0.8245 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.6537, allocations: 61.92 kB / 0.8245 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6538, allocations: 68.19 kB / 0.8246 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.6539, allocations: 42.25 kB / 0.8246 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005125/0.6544, allocations: 457 kB / 0.8251 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6544, allocations: 0 / 0.8251 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000765/0.6552, allocations: 323.5 kB / 0.8254 GB, free: 14.69 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: 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 (91): * Single equations (assignments): 85 * 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.003306/0.6585, allocations: 1.977 MB / 0.8273 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.66, allocations: 0.806 MB / 0.8281 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6601, allocations: 0 / 0.8281 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/0.661, allocations: 0.5126 MB / 0.8286 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6621, allocations: 314.3 kB / 0.8289 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009753/0.6719, allocations: 6.145 MB / 0.8349 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/0.6725, allocations: 1.029 MB / 0.8359 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008038/0.6733, allocations: 258.7 kB / 0.8362 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005556/0.6739, allocations: 375.3 kB / 0.8365 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.6739, allocations: 0 / 0.8365 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.7219, allocations: 21.45 MB / 0.8575 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.84, allocations: 8.75 kB / 0.8575 GB, free: 2.23 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)