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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_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.001523/0.001523, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001465/0.001465, allocations: 196 kB / 17.34 MB, free: 5.715 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7682/0.7682, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 71.92 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1299, allocations: 78.87 MB / 0.6505 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007605/0.1376, allocations: 5.954 MB / 0.6563 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4439/0.5815, allocations: 150.8 MB / 0.8036 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/0.5823, allocations: 21.62 kB / 0.8037 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.5829, allocations: 237.8 kB / 0.8039 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.5844, allocations: 0.6323 MB / 0.8045 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.586, allocations: 0.8692 MB / 0.8054 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.5872, allocations: 1.65 MB / 0.807 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000962/0.5882, allocations: 0.8702 MB / 0.8078 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005749/0.5888, allocations: 0.6065 MB / 0.8084 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.5894, allocations: 0.6588 MB / 0.809 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.5895, allocations: 154.4 kB / 0.8092 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.5903, allocations: 0.515 MB / 0.8097 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.5906, allocations: 378 kB / 0.8101 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.5911, allocations: 0.7308 MB / 0.8108 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.5929, allocations: 2.047 MB / 0.8128 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5929, allocations: 0 / 0.8128 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5929, allocations: 0 / 0.8128 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.5929, allocations: 0 / 0.8128 GB, free: 10.06 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00261/0.5955, allocations: 1.764 MB / 0.8145 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.5956, allocations: 10 kB / 0.8145 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.5957, allocations: 189.8 kB / 0.8147 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008896/0.5966, allocations: 232.1 kB / 0.8149 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.5978, allocations: 0.8697 MB / 0.8158 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.5979, allocations: 87.34 kB / 0.8158 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.598, allocations: 119.5 kB / 0.816 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.5997, allocations: 1.211 MB / 0.8171 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.5998, allocations: 0 / 0.8171 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.825e-05/0.5999, allocations: 46.59 kB / 0.8172 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.5999, allocations: 34.88 kB / 0.8172 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.6018, allocations: 1.282 MB / 0.8185 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.6065, allocations: 3.715 MB / 0.8221 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.608, allocations: 0.8616 MB / 0.8229 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.6086, allocations: 336 kB / 0.8233 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.9e-05/0.6087, allocations: 35.77 kB / 0.8233 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000846/0.6095, allocations: 0.5138 MB / 0.8238 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 1.944e-06/0.6096, allocations: 0 / 0.8238 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003156/0.6127, allocations: 1.284 MB / 0.825 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.6129, allocations: 202.8 kB / 0.8252 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.6137, allocations: 0.731 MB / 0.826 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.6138, allocations: 47.38 kB / 0.826 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.6142, allocations: 0.5239 MB / 0.8265 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.6144, allocations: 296.4 kB / 0.8268 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.6147, allocations: 155.4 kB / 0.8269 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6148, allocations: 337.7 kB / 0.8273 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.6153, allocations: 273.9 kB / 0.8275 GB, free: 380 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006238/0.616, allocations: 384.8 kB / 0.8279 GB, free: 128 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.6172, allocations: 0.6479 MB / 0.8285 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6172, allocations: 2.469 kB / 0.8285 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00186/0.619, allocations: 0.8754 MB / 0.8294 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6191, allocations: 5.656 kB / 0.8294 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6191, allocations: 112 / 0.8294 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005796/0.6197, allocations: 94.08 kB / 0.8295 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.6203, allocations: 158.4 kB / 0.8296 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.6224, allocations: 1.638 MB / 0.8312 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006467/0.6231, allocations: 93.75 kB / 0.8313 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/0.6231, allocations: 35.3 kB / 0.8314 GB, free: 13.61 MB / 0.6075 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 (96): * Single equations (assignments): 95 * 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.0004104/0.6236, allocations: 299.4 kB / 0.8316 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.6237, allocations: 104.7 kB / 0.8317 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.6261, allocations: 1.125 MB / 0.8328 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6261, allocations: 14.62 kB / 0.8328 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.6261, allocations: 0 / 0.8328 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.6261, allocations: 3.984 kB / 0.8329 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.6273, allocations: 1.054 MB / 0.8339 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.6273, allocations: 0 / 0.8339 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.6279, allocations: 152.5 kB / 0.834 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.6283, allocations: 71.88 kB / 0.8341 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.6284, allocations: 30.2 kB / 0.8341 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.6303, allocations: 1.665 MB / 0.8357 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6303, allocations: 0 / 0.8357 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.6322, allocations: 0.9929 MB / 0.8367 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.6326, allocations: 291.1 kB / 0.837 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6327, allocations: 18.84 kB / 0.837 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/0.6334, allocations: 70.52 kB / 0.8371 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.6335, allocations: 72.09 kB / 0.8372 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.6336, allocations: 38.94 kB / 0.8372 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005949/0.6342, allocations: 0.5217 MB / 0.8377 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6342, allocations: 0 / 0.8377 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007933/0.635, allocations: 391.7 kB / 0.8381 GB, free: 8.906 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 (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.003893/0.6389, allocations: 2.038 MB / 0.8401 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.6406, allocations: 0.8585 MB / 0.8409 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6406, allocations: 0 / 0.8409 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.6416, allocations: 0.5511 MB / 0.8414 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6428, allocations: 322.5 kB / 0.8417 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.6541, allocations: 7.08 MB / 0.8487 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.6549, allocations: 1.102 MB / 0.8497 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008532/0.6558, allocations: 291.6 kB / 0.85 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.6564, allocations: 483.2 kB / 0.8505 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.6564, allocations: 0 / 0.8505 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05755/0.714, allocations: 24.14 MB / 0.8741 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.79, allocations: 8.375 kB / 0.8741 GB, free: 5.227 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)