Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.004672/0.004672, allocations: 102 kB / 15.73 MB, free: 6.062 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.001286/0.001286, allocations: 192 kB / 16.67 MB, free: 5.973 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8632/0.8632, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.36 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1326, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008197/0.1409, allocations: 6.057 MB / 0.6651 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.458/0.5989, allocations: 151.4 MB / 0.813 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.5997, allocations: 24.34 kB / 0.813 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006338/0.6004, allocations: 245.7 kB / 0.8132 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.6021, allocations: 0.6164 MB / 0.8138 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.6044, allocations: 1.287 MB / 0.8151 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.6067, allocations: 2.422 MB / 0.8175 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.6085, allocations: 1.578 MB / 0.819 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.6097, allocations: 1.049 MB / 0.82 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.6112, allocations: 1.19 MB / 0.8212 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.6115, allocations: 300.9 kB / 0.8215 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.6125, allocations: 0.6717 MB / 0.8221 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005718/0.6131, allocations: 0.6378 MB / 0.8228 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.6142, allocations: 1.17 MB / 0.8239 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.6176, allocations: 3.316 MB / 0.8271 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6176, allocations: 0 / 0.8271 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6176, allocations: 0 / 0.8271 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.03e-05/0.6176, allocations: 0 / 0.8271 GB, free: 3.766 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.005242/0.6229, allocations: 2.647 MB / 0.8297 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6229, allocations: 8.25 kB / 0.8297 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003691/0.6233, allocations: 313.1 kB / 0.83 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/0.6391, allocations: 2.106 MB / 0.8321 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.6414, allocations: 1.221 MB / 0.8333 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.6415, allocations: 160.6 kB / 0.8334 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.6419, allocations: 214.2 kB / 0.8336 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008426/0.6503, allocations: 3.17 MB / 0.8367 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.6504, allocations: 0 / 0.8367 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.6506, allocations: 88.12 kB / 0.8368 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.6507, allocations: 50.25 kB / 0.8369 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.6636, allocations: 4.101 MB / 0.8409 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/0.6799, allocations: 6.952 MB / 0.8477 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00968/0.6896, allocations: 2.684 MB / 0.8503 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004711/0.6943, allocations: 1.431 MB / 0.8517 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/0.6952, allocations: 0.5086 MB / 0.8522 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005214/0.7004, allocations: 1.695 MB / 0.8538 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=195): time 3.477e-06/0.7004, allocations: 0 / 0.8538 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195): time 0.01591/0.7164, allocations: 4.205 MB / 0.8579 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/0.7165, allocations: 201.9 kB / 0.8581 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.7179, allocations: 0.8623 MB / 0.859 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.7181, allocations: 61.7 kB / 0.859 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006948/0.7188, allocations: 0.7207 MB / 0.8597 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006504/0.7194, allocations: 0.6584 MB / 0.8604 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007262/0.7202, allocations: 351.3 kB / 0.8607 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7203, allocations: 305.1 kB / 0.861 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/0.7248, allocations: 1.167 MB / 0.8621 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004657/0.7294, allocations: 1.359 MB / 0.8635 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009241/0.7387, allocations: 2.469 MB / 0.8659 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.7387, allocations: 3.938 kB / 0.8659 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01076/0.7495, allocations: 2.914 MB / 0.8687 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.7495, allocations: 4 kB / 0.8687 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7495, allocations: 4 kB / 0.8687 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.7502, allocations: 84.84 kB / 0.8688 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/0.754, allocations: 0.5578 MB / 0.8694 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.7564, allocations: 1.639 MB / 0.871 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.7596, allocations: 331.3 kB / 0.8713 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.7599, allocations: 87.89 kB / 0.8714 GB, free: 11.99 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (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 (207): * Single equations (assignments): 206 * 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.0009587/0.7608, allocations: 405.5 kB / 0.8717 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000391/0.7612, allocations: 158.9 kB / 0.8719 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.7732, allocations: 3.479 MB / 0.8753 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.7733, allocations: 23.94 kB / 0.8753 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7733, allocations: 0 / 0.8753 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.7733, allocations: 11.95 kB / 0.8753 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.7884, allocations: 5.771 MB / 0.881 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/0.7885, allocations: 0 / 0.881 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003715/0.7922, allocations: 0.5422 MB / 0.8815 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/0.7927, allocations: 72.8 kB / 0.8816 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/0.7929, allocations: 67.92 kB / 0.8816 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.7952, allocations: 1.674 MB / 0.8833 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7952, allocations: 3.938 kB / 0.8833 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.8065, allocations: 3.058 MB / 0.8863 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009957/0.8075, allocations: 0.511 MB / 0.8868 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.8079, allocations: 47.89 kB / 0.8868 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/0.8107, allocations: 243.7 kB / 0.887 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.811, allocations: 129.8 kB / 0.8872 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/0.8112, allocations: 83.92 kB / 0.8872 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000992/0.8122, allocations: 0.6427 MB / 0.8879 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8122, allocations: 0 / 0.8879 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001575/0.8138, allocations: 0.601 MB / 0.8884 GB, free: 10.21 MB / 0.6544 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * 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.01331/0.8271, allocations: 4.162 MB / 0.8925 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0105/0.8376, allocations: 2.948 MB / 0.8954 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8377, allocations: 3.938 kB / 0.8954 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005292/0.843, allocations: 1.665 MB / 0.897 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.8447, allocations: 352.7 kB / 0.8974 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04267/0.8874, allocations: 15.11 MB / 0.9121 GB, free: 2.016 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.8885, allocations: 1.373 MB / 0.9135 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0027/0.8913, allocations: 0.5585 MB / 0.914 GB, free: 44 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/0.8929, allocations: 0.8155 MB / 0.9148 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of SimCode: time 7.21e-07/0.893, allocations: 0 / 0.9148 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08863/0.9816, allocations: 39.03 MB / 0.9529 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.25, allocations: 14.5 kB / 0.9529 GB, free: 8.418 MB / 0.7169 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_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 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)