Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_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.001709/0.001709, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004251/0.004251, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.357/2.357, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.6/1.6, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 63.64 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2289, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.01166/0.2406, allocations: 4.496 MB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6493/0.8899, allocations: 150.6 MB / 0.7359 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.8909, allocations: 21.66 kB / 0.736 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.8916, allocations: 189.9 kB / 0.7361 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.8942, allocations: 0.4917 MB / 0.7366 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.8971, allocations: 0.8187 MB / 0.7374 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.8995, allocations: 1.302 MB / 0.7387 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.9014, allocations: 0.9117 MB / 0.7396 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.9025, allocations: 0.5395 MB / 0.7401 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009139/0.9035, allocations: 0.5725 MB / 0.7407 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002722/0.9038, allocations: 141.2 kB / 0.7408 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.9051, allocations: 493.1 kB / 0.7413 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.9056, allocations: 344.5 kB / 0.7416 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008832/0.9065, allocations: 0.6443 MB / 0.7422 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.9097, allocations: 1.791 MB / 0.744 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.9097, allocations: 5.703 kB / 0.744 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9098, allocations: 0 / 0.744 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.654e-05/0.9098, allocations: 4 kB / 0.744 GB, free: 7.035 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.004675/0.9145, allocations: 1.588 MB / 0.7455 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.9146, allocations: 10.41 kB / 0.7456 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003317/0.9149, allocations: 180.3 kB / 0.7457 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.9168, allocations: 211.5 kB / 0.7459 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.9191, allocations: 0.8163 MB / 0.7467 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.9192, allocations: 86.05 kB / 0.7468 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.9195, allocations: 111.5 kB / 0.7469 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/0.923, allocations: 1.14 MB / 0.748 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.923, allocations: 0 / 0.748 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.9232, allocations: 48.72 kB / 0.7481 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.9233, allocations: 26.44 kB / 0.7481 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003941/0.9273, allocations: 1.235 MB / 0.7493 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00885/0.9361, allocations: 3.017 MB / 0.7522 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.9386, allocations: 0.7686 MB / 0.753 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00085/0.9395, allocations: 294.8 kB / 0.7533 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.9396, allocations: 40.61 kB / 0.7533 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.941, allocations: 451.2 kB / 0.7537 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 6.372e-06/0.941, allocations: 0 / 0.7537 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.0049/0.9459, allocations: 1.143 MB / 0.7549 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.9461, allocations: 188.6 kB / 0.755 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.9477, allocations: 0.6843 MB / 0.7557 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.9479, allocations: 41.7 kB / 0.7558 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/0.9486, allocations: 0.4995 MB / 0.7562 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.949, allocations: 252.3 kB / 0.7565 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004263/0.9495, allocations: 146.5 kB / 0.7566 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.9497, allocations: 337.9 kB / 0.7569 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008374/0.9505, allocations: 237.9 kB / 0.7572 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009257/0.9515, allocations: 346.6 kB / 0.7575 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.9532, allocations: 0.576 MB / 0.7581 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.9533, allocations: 3.938 kB / 0.7581 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003571/0.9568, allocations: 0.7901 MB / 0.7588 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.9569, allocations: 4 kB / 0.7588 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.9569, allocations: 5.312 kB / 0.7588 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/0.9579, allocations: 76.88 kB / 0.7589 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.9593, allocations: 155.8 kB / 0.7591 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.963, allocations: 1.626 MB / 0.7607 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.9644, allocations: 87.22 kB / 0.7607 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.9646, allocations: 31.98 kB / 0.7608 GB, free: 7.613 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: 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 (84): * Single equations (assignments): 83 * 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.0009618/0.9656, allocations: 276 kB / 0.761 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/0.966, allocations: 94.89 kB / 0.7611 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.9709, allocations: 1.025 MB / 0.7621 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.971, allocations: 8 kB / 0.7621 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.971, allocations: 4 kB / 0.7621 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.9711, allocations: 3.984 kB / 0.7621 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.9736, allocations: 0.9893 MB / 0.7631 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.9736, allocations: 3.984 kB / 0.7631 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.9747, allocations: 151.7 kB / 0.7633 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.9755, allocations: 76.02 kB / 0.7633 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.9756, allocations: 23.98 kB / 0.7634 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.9789, allocations: 1.662 MB / 0.765 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9789, allocations: 0 / 0.765 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/0.9992, allocations: 0.8848 MB / 0.7658 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008915/1, allocations: 275.6 kB / 0.7661 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/1, allocations: 16 kB / 0.7661 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.002, allocations: 55.94 kB / 0.7662 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/1.002, allocations: 60.92 kB / 0.7662 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.002, allocations: 35.97 kB / 0.7663 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001318/1.003, allocations: 495 kB / 0.7667 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.3e-07/1.004, allocations: 0 / 0.7667 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001645/1.005, allocations: 330.9 kB / 0.7671 GB, free: 0.9219 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: 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.00661/1.012, allocations: 1.924 MB / 0.7689 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02076/1.033, allocations: 0.9672 MB / 0.7699 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.033, allocations: 0 / 0.7699 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.035, allocations: 0.5007 MB / 0.7704 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/1.037, allocations: 316.2 kB / 0.7707 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05664/1.094, allocations: 6.938 MB / 0.7774 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/1.095, allocations: 1.087 MB / 0.7785 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002091/1.098, allocations: 262.9 kB / 0.7788 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.099, allocations: 459.2 kB / 0.7792 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of SimCode: time 1.693e-06/1.099, allocations: 4 kB / 0.7792 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2463/1.345, allocations: 21.61 MB / 0.8003 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.44/21.79, allocations: 4.062 kB / 0.8003 GB, free: 15.2 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)