Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 128 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.001178/0.001178, allocations: 196 kB / 16.53 MB, free: 6.672 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7006/0.7006, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.22 kB / 0.5019 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3135, allocations: 80.2 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005165/0.3187, allocations: 4.409 MB / 0.5845 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1409/0.4596, allocations: 150.7 MB / 0.7316 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007817/0.4604, allocations: 19.88 kB / 0.7316 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.4609, allocations: 170.4 kB / 0.7318 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.4623, allocations: 488 kB / 0.7323 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.4642, allocations: 0.9016 MB / 0.7332 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.4653, allocations: 1.364 MB / 0.7345 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008889/0.4662, allocations: 0.7857 MB / 0.7353 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.4667, allocations: 0.5177 MB / 0.7358 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005375/0.4673, allocations: 0.5718 MB / 0.7363 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.4674, allocations: 128 kB / 0.7364 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007471/0.4682, allocations: 0.4918 MB / 0.7369 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.4685, allocations: 334.9 kB / 0.7372 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.4689, allocations: 0.5947 MB / 0.7378 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.4704, allocations: 1.706 MB / 0.7395 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4704, allocations: 0 / 0.7395 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4704, allocations: 0 / 0.7395 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.4704, allocations: 0 / 0.7395 GB, free: 13.75 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002444/0.4729, allocations: 1.568 MB / 0.741 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4729, allocations: 12.03 kB / 0.741 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.4731, allocations: 164.8 kB / 0.7412 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/0.4782, allocations: 0.7484 MB / 0.7419 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009808/0.4792, allocations: 0.7771 MB / 0.7427 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.4793, allocations: 78.09 kB / 0.7428 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.4794, allocations: 100 kB / 0.7428 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.4823, allocations: 1.368 MB / 0.7442 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4823, allocations: 0 / 0.7442 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.4824, allocations: 48 kB / 0.7442 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.4824, allocations: 24 kB / 0.7443 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.4868, allocations: 1.834 MB / 0.746 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.4921, allocations: 3.142 MB / 0.7491 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003022/0.4951, allocations: 1.276 MB / 0.7504 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4966, allocations: 0.5621 MB / 0.7509 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006201/0.4972, allocations: 482.5 kB / 0.7514 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/0.4989, allocations: 0.7347 MB / 0.7521 GB, free: 456 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.144e-06/0.499, allocations: 0 / 0.7521 GB, free: 456 kB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.005619/0.5046, allocations: 1.844 MB / 0.7539 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.5047, allocations: 192.9 kB / 0.7541 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.5053, allocations: 0.6096 MB / 0.7547 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.787e-05/0.5054, allocations: 49.7 kB / 0.7547 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.5057, allocations: 416.5 kB / 0.7551 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.5059, allocations: 335 kB / 0.7554 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/0.5062, allocations: 178.5 kB / 0.7556 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.5064, allocations: 382.8 kB / 0.756 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.5077, allocations: 461.6 kB / 0.7564 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.5091, allocations: 0.5774 MB / 0.757 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/0.5119, allocations: 0.9998 MB / 0.7579 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5119, allocations: 0 / 0.7579 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003573/0.5155, allocations: 1.243 MB / 0.7592 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5155, allocations: 4 kB / 0.7592 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5155, allocations: 0 / 0.7592 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.5161, allocations: 88.89 kB / 0.7592 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.5174, allocations: 243.6 kB / 0.7595 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.5192, allocations: 1.638 MB / 0.7611 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.5203, allocations: 143.1 kB / 0.7612 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/0.5204, allocations: 39.97 kB / 0.7613 GB, free: 6.734 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (104): * Single equations (assignments): 103 * 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.0003837/0.5208, allocations: 275.1 kB / 0.7615 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.521, allocations: 86.88 kB / 0.7616 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.5252, allocations: 1.577 MB / 0.7631 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.5253, allocations: 12 kB / 0.7632 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5253, allocations: 0 / 0.7632 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5253, allocations: 3.984 kB / 0.7632 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.5307, allocations: 2.742 MB / 0.7658 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5307, allocations: 4 kB / 0.7658 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.532, allocations: 247.6 kB / 0.7661 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.5324, allocations: 72.78 kB / 0.7661 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.5325, allocations: 35.91 kB / 0.7662 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.5342, allocations: 1.65 MB / 0.7678 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5342, allocations: 3.938 kB / 0.7678 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/0.5379, allocations: 1.433 MB / 0.7692 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.5382, allocations: 303.6 kB / 0.7695 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.5384, allocations: 24 kB / 0.7695 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.5395, allocations: 117.8 kB / 0.7696 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5396, allocations: 72.89 kB / 0.7697 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.5397, allocations: 39.97 kB / 0.7697 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004737/0.5402, allocations: 443 kB / 0.7701 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5402, allocations: 0 / 0.7701 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008349/0.5411, allocations: 363 kB / 0.7705 GB, free: 13 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: 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 (113): * Single equations (assignments): 110 * 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.004996/0.5461, allocations: 2.501 MB / 0.7729 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004253/0.5503, allocations: 1.526 MB / 0.7744 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5503, allocations: 0 / 0.7744 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.5522, allocations: 0.7774 MB / 0.7752 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5534, allocations: 284 kB / 0.7755 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.5691, allocations: 8.059 MB / 0.7833 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.5697, allocations: 1.056 MB / 0.7844 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001294/0.571, allocations: 327.2 kB / 0.7847 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/0.5716, allocations: 423.2 kB / 0.7851 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.5716, allocations: 8 kB / 0.7851 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.6178, allocations: 23.79 MB / 0.8083 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.82, allocations: 18.69 kB / 0.8083 GB, free: 6.656 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)