Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_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.001184/0.001184, allocations: 108 kB / 15.6 MB, free: 132 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.001161/0.001161, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6853/0.6853, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 60.38 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3042, allocations: 80.21 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004857/0.3091, allocations: 4.495 MB / 0.5846 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1422/0.4514, allocations: 150.6 MB / 0.7317 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008513/0.4522, allocations: 23.88 kB / 0.7317 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.453, allocations: 190.1 kB / 0.7319 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.4549, allocations: 0.4892 MB / 0.7323 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.457, allocations: 0.8091 MB / 0.7331 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001493/0.4585, allocations: 1.316 MB / 0.7344 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.4598, allocations: 0.9116 MB / 0.7353 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006565/0.4605, allocations: 0.537 MB / 0.7358 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.4611, allocations: 0.5737 MB / 0.7364 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/0.4614, allocations: 144 kB / 0.7365 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000844/0.4622, allocations: 483.6 kB / 0.737 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.4625, allocations: 342.9 kB / 0.7373 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006122/0.4632, allocations: 0.6528 MB / 0.738 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.465, allocations: 1.791 MB / 0.7397 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.465, allocations: 0 / 0.7397 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.465, allocations: 0 / 0.7397 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.465, allocations: 4 kB / 0.7397 GB, free: 13.56 MB / 0.5762 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.002204/0.4672, allocations: 1.592 MB / 0.7413 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.4673, allocations: 8.031 kB / 0.7413 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.4674, allocations: 173.5 kB / 0.7414 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.4683, allocations: 211 kB / 0.7416 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/0.4693, allocations: 0.8246 MB / 0.7424 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.4694, allocations: 82.3 kB / 0.7425 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4695, allocations: 112 kB / 0.7426 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.4711, allocations: 1.13 MB / 0.7437 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.4711, allocations: 3.938 kB / 0.7437 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.413e-05/0.4712, allocations: 52 kB / 0.7438 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.4713, allocations: 28 kB / 0.7438 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.4731, allocations: 1.234 MB / 0.745 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.477, allocations: 3.023 MB / 0.748 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.4782, allocations: 0.7725 MB / 0.7487 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.4787, allocations: 294.7 kB / 0.749 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.329e-05/0.4788, allocations: 32.69 kB / 0.749 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/0.4796, allocations: 451.1 kB / 0.7495 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 1.874e-06/0.4796, allocations: 0 / 0.7495 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002729/0.4823, allocations: 1.143 MB / 0.7506 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.4824, allocations: 188.6 kB / 0.7508 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.4831, allocations: 0.696 MB / 0.7514 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.4832, allocations: 37.7 kB / 0.7515 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.4835, allocations: 0.4995 MB / 0.752 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.4837, allocations: 252.3 kB / 0.7522 GB, free: 388 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.4839, allocations: 146.5 kB / 0.7523 GB, free: 236 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.484, allocations: 333.9 kB / 0.7527 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.4845, allocations: 233.9 kB / 0.7529 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.485, allocations: 350.5 kB / 0.7532 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009823/0.486, allocations: 0.5838 MB / 0.7538 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.486, allocations: 4 kB / 0.7538 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001714/0.4877, allocations: 0.7823 MB / 0.7546 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4878, allocations: 8 kB / 0.7546 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4878, allocations: 112 / 0.7546 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005632/0.4883, allocations: 88.75 kB / 0.7547 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.4889, allocations: 147.8 kB / 0.7548 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.4908, allocations: 1.626 MB / 0.7564 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.4914, allocations: 91.28 kB / 0.7565 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/0.4914, allocations: 28.05 kB / 0.7565 GB, free: 11.78 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: 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.000331/0.4918, allocations: 275.4 kB / 0.7568 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4919, allocations: 102.8 kB / 0.7569 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.4941, allocations: 1.023 MB / 0.7579 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4941, allocations: 12 kB / 0.7579 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4941, allocations: 0 / 0.7579 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4941, allocations: 3.984 kB / 0.7579 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009697/0.4951, allocations: 0.9853 MB / 0.7588 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4951, allocations: 7.984 kB / 0.7588 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.4957, allocations: 147.8 kB / 0.759 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004192/0.4961, allocations: 68.73 kB / 0.759 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.4962, allocations: 27.98 kB / 0.7591 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.4979, allocations: 1.662 MB / 0.7607 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4979, allocations: 0 / 0.7607 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.4996, allocations: 0.8887 MB / 0.7616 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.4999, allocations: 271.6 kB / 0.7618 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5, allocations: 16 kB / 0.7618 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.5006, allocations: 58.12 kB / 0.7619 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.5007, allocations: 64.86 kB / 0.762 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.5008, allocations: 31.97 kB / 0.762 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005286/0.5013, allocations: 0.4912 MB / 0.7625 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5013, allocations: 0 / 0.7625 GB, free: 5.402 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006485/0.5019, allocations: 338.8 kB / 0.7628 GB, free: 5.07 MB / 0.5919 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.003022/0.505, allocations: 1.924 MB / 0.7647 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.5069, allocations: 0.9638 MB / 0.7656 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.507, allocations: 0 / 0.7656 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.5078, allocations: 0.5043 MB / 0.7661 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.5088, allocations: 301.1 kB / 0.7664 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.5189, allocations: 6.945 MB / 0.7732 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.5195, allocations: 1.083 MB / 0.7742 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000711/0.5202, allocations: 262.9 kB / 0.7745 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.5207, allocations: 451.2 kB / 0.7749 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5207, allocations: 0 / 0.7749 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04305/0.5638, allocations: 21.61 MB / 0.796 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.8, allocations: 8 kB / 0.796 GB, free: 3.379 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)