Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.004771/0.004771, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001204/0.001204, allocations: 191.7 kB / 16.67 MB, free: 5.969 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7209/0.7209, allocations: 132.2 MB / 422.7 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 62.41 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 80.22 MB / 0.6592 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005181/0.1335, allocations: 4.194 MB / 0.6633 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4156/0.5491, allocations: 150.5 MB / 0.8102 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005697/0.5497, allocations: 14.41 kB / 0.8103 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.5502, allocations: 169.8 kB / 0.8104 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.5513, allocations: 479.5 kB / 0.8109 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.5526, allocations: 0.8136 MB / 0.8117 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000759/0.5534, allocations: 1.208 MB / 0.8129 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007329/0.5541, allocations: 0.7005 MB / 0.8135 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.5545, allocations: 473 kB / 0.814 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.5549, allocations: 487.2 kB / 0.8145 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.5551, allocations: 114.6 kB / 0.8146 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005675/0.5557, allocations: 487.5 kB / 0.815 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.5559, allocations: 299 kB / 0.8153 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.5562, allocations: 0.5304 MB / 0.8158 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.5575, allocations: 1.602 MB / 0.8174 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5575, allocations: 0 / 0.8174 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5575, allocations: 0 / 0.8174 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.5575, allocations: 2.844 kB / 0.8174 GB, free: 9.637 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001927/0.5594, allocations: 1.435 MB / 0.8188 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.5595, allocations: 7.969 kB / 0.8188 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.5596, allocations: 144.7 kB / 0.8189 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.5612, allocations: 305.7 kB / 0.8192 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009888/0.5622, allocations: 0.7542 MB / 0.82 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.5623, allocations: 70.66 kB / 0.82 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5624, allocations: 89.56 kB / 0.8201 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.564, allocations: 1.003 MB / 0.8211 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.5641, allocations: 0 / 0.8211 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/0.5642, allocations: 41.7 kB / 0.8211 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.5642, allocations: 32.06 kB / 0.8212 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.5662, allocations: 1.212 MB / 0.8224 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.5698, allocations: 2.559 MB / 0.8249 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.5721, allocations: 0.9309 MB / 0.8258 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006717/0.5728, allocations: 328.9 kB / 0.8261 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.5728, allocations: 36.08 kB / 0.8261 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009106/0.5738, allocations: 489.9 kB / 0.8266 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=75): time 1.844e-06/0.5738, allocations: 0 / 0.8266 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75): time 0.003253/0.577, allocations: 1.241 MB / 0.8278 GB, free: 3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.5771, allocations: 190.2 kB / 0.828 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.5777, allocations: 0.5976 MB / 0.8286 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.5778, allocations: 38.42 kB / 0.8286 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/0.5781, allocations: 421.3 kB / 0.829 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.5783, allocations: 261.5 kB / 0.8292 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.5785, allocations: 140.4 kB / 0.8294 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5786, allocations: 384.4 kB / 0.8297 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/0.5793, allocations: 265.8 kB / 0.83 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.58, allocations: 377.6 kB / 0.8304 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.5813, allocations: 0.6271 MB / 0.831 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5813, allocations: 2.281 kB / 0.831 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002032/0.5834, allocations: 0.8242 MB / 0.8318 GB, free: 260 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.5834, allocations: 5.281 kB / 0.8318 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5834, allocations: 6.562 kB / 0.8318 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.584, allocations: 87.66 kB / 0.8319 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.5847, allocations: 165.5 kB / 0.832 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.5865, allocations: 1.625 MB / 0.8336 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006333/0.5872, allocations: 100.8 kB / 0.8337 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.5872, allocations: 36.36 kB / 0.8338 GB, free: 14.49 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: 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 (78): * Single equations (assignments): 77 * 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.0003105/0.5876, allocations: 259.1 kB / 0.834 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5877, allocations: 81.55 kB / 0.8341 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.5902, allocations: 1.097 MB / 0.8351 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5902, allocations: 9.625 kB / 0.8352 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5902, allocations: 3.938 kB / 0.8352 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.5902, allocations: 3.984 kB / 0.8352 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.5935, allocations: 2.051 MB / 0.8372 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.5935, allocations: 2.531 kB / 0.8372 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.5942, allocations: 163 kB / 0.8373 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.5946, allocations: 71.94 kB / 0.8374 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.5947, allocations: 27.45 kB / 0.8374 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.5963, allocations: 1.655 MB / 0.839 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5963, allocations: 0 / 0.839 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.5984, allocations: 1.027 MB / 0.84 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.5988, allocations: 261.8 kB / 0.8403 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5989, allocations: 20.75 kB / 0.8403 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/0.5996, allocations: 72.3 kB / 0.8404 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.5997, allocations: 66.75 kB / 0.8404 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.5998, allocations: 32.3 kB / 0.8405 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004411/0.6002, allocations: 445.4 kB / 0.8409 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6002, allocations: 0 / 0.8409 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006762/0.6009, allocations: 309.5 kB / 0.8412 GB, free: 9.336 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 (88): * Single equations (assignments): 85 * 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.003434/0.6043, allocations: 2.074 MB / 0.8432 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.6062, allocations: 0.8333 MB / 0.844 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6062, allocations: 0 / 0.844 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.6072, allocations: 0.5431 MB / 0.8446 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.6084, allocations: 296.1 kB / 0.8448 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.619, allocations: 6.38 MB / 0.8511 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.6195, allocations: 1.023 MB / 0.8521 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007253/0.6202, allocations: 265.4 kB / 0.8523 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.6208, allocations: 386.8 kB / 0.8527 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.6208, allocations: 0 / 0.8527 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/0.6708, allocations: 20.8 MB / 0.873 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.88, allocations: 5.812 kB / 0.873 GB, free: 9.457 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_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_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)