Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.004446/0.004446, allocations: 97.39 kB / 15.73 MB, free: 5.988 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.001296/0.001296, allocations: 188 kB / 16.67 MB, free: 5.918 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8308/0.8308, allocations: 132.2 MB / 422.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.03 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006584/0.1478, allocations: 4.19 MB / 0.6633 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.3213, allocations: 150.5 MB / 0.8103 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.3221, allocations: 19.94 kB / 0.8103 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006555/0.3228, allocations: 174.3 kB / 0.8105 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.3245, allocations: 470.7 kB / 0.8109 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.3266, allocations: 0.823 MB / 0.8117 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.3281, allocations: 1.203 MB / 0.8129 GB, free: 20 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3019/0.63, allocations: 0.6759 MB / 0.8136 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.6307, allocations: 458.8 kB / 0.814 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.6315, allocations: 483.7 kB / 0.8145 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.6318, allocations: 112.8 kB / 0.8146 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.6328, allocations: 0.4968 MB / 0.8151 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.6332, allocations: 292.3 kB / 0.8153 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006313/0.6338, allocations: 0.5261 MB / 0.8159 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.6361, allocations: 1.598 MB / 0.8174 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6361, allocations: 0.625 kB / 0.8174 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6361, allocations: 0.9688 kB / 0.8174 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.244e-05/0.6361, allocations: 0.5312 kB / 0.8174 GB, free: 3.242 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002885/0.639, allocations: 1.431 MB / 0.8188 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.6391, allocations: 10.41 kB / 0.8188 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002143/0.6393, allocations: 144.7 kB / 0.819 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.6406, allocations: 212.8 kB / 0.8192 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6418, allocations: 0.7495 MB / 0.8199 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.6419, allocations: 70.11 kB / 0.82 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.642, allocations: 89.28 kB / 0.82 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.6438, allocations: 0.9528 MB / 0.821 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.6439, allocations: 1.938 kB / 0.821 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.644, allocations: 36.03 kB / 0.821 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.644, allocations: 22.78 kB / 0.821 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.6459, allocations: 1.131 MB / 0.8221 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.6496, allocations: 2.527 MB / 0.8246 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.6511, allocations: 0.8201 MB / 0.8254 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.6516, allocations: 285.7 kB / 0.8257 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/0.6523, allocations: 471.1 kB / 0.8261 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/0.6531, allocations: 440.7 kB / 0.8266 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.6531, allocations: 0.8438 kB / 0.8266 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003001/0.6561, allocations: 1.103 MB / 0.8276 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.6563, allocations: 192 kB / 0.8278 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.657, allocations: 0.5972 MB / 0.8284 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.977e-05/0.6571, allocations: 43.02 kB / 0.8284 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.6573, allocations: 416.5 kB / 0.8288 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.6574, allocations: 255 kB / 0.8291 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.6576, allocations: 131.8 kB / 0.8292 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.6578, allocations: 390.5 kB / 0.8296 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.6583, allocations: 220 kB / 0.8298 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.6589, allocations: 325.9 kB / 0.8301 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.6599, allocations: 0.5447 MB / 0.8306 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6599, allocations: 1.375 kB / 0.8306 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001725/0.6616, allocations: 0.7357 MB / 0.8313 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.6616, allocations: 5.719 kB / 0.8314 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.6617, allocations: 2.375 kB / 0.8314 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.6623, allocations: 81.72 kB / 0.8314 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.6629, allocations: 142 kB / 0.8316 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.665, allocations: 1.629 MB / 0.8332 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.6656, allocations: 78.23 kB / 0.8332 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.6657, allocations: 35.7 kB / 0.8333 GB, free: 13.52 MB / 0.6544 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 (76): * Single equations (assignments): 75 * 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.0003446/0.666, allocations: 254.8 kB / 0.8335 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.6662, allocations: 86.27 kB / 0.8336 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.6684, allocations: 0.9985 MB / 0.8346 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6685, allocations: 11.7 kB / 0.8346 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6685, allocations: 5.266 kB / 0.8346 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.6685, allocations: 2.531 kB / 0.8346 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.6714, allocations: 1.9 MB / 0.8364 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6714, allocations: 5.625 kB / 0.8364 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.672, allocations: 141.8 kB / 0.8366 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.6725, allocations: 73.75 kB / 0.8367 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.6725, allocations: 24.75 kB / 0.8367 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.6745, allocations: 1.653 MB / 0.8383 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6745, allocations: 3.938 kB / 0.8383 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6763, allocations: 0.9233 MB / 0.8392 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.6767, allocations: 266 kB / 0.8394 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6768, allocations: 17.22 kB / 0.8395 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005976/0.6774, allocations: 58.52 kB / 0.8395 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.6775, allocations: 59.38 kB / 0.8396 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.6776, allocations: 35.62 kB / 0.8396 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004775/0.6781, allocations: 442.8 kB / 0.84 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6781, allocations: 1.094 kB / 0.84 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008926/0.679, allocations: 313.8 kB / 0.8403 GB, free: 10.96 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 (84): * Single equations (assignments): 81 * 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.003972/0.683, allocations: 2.001 MB / 0.8423 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.6844, allocations: 0.7372 MB / 0.843 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6844, allocations: 0 / 0.843 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008449/0.6853, allocations: 0.4953 MB / 0.8435 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6865, allocations: 287.6 kB / 0.8438 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.6965, allocations: 6.054 MB / 0.8497 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.6971, allocations: 1.019 MB / 0.8507 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008377/0.698, allocations: 259.6 kB / 0.8509 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.6984, allocations: 372.6 kB / 0.8513 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.6985, allocations: 0 / 0.8513 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/0.7482, allocations: 20.5 MB / 0.8713 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.48, allocations: 7.047 kB / 0.8713 GB, free: 2.648 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)