Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_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.004785/0.004785, allocations: 99.91 kB / 15.73 MB, free: 6.496 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.00102/0.00102, allocations: 201.4 kB / 16.68 MB, free: 6.375 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9019/0.9019, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3293, allocations: 80.92 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004814/0.3342, allocations: 4.183 MB / 0.6682 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1494/0.4836, allocations: 150.5 MB / 0.8153 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006985/0.4843, allocations: 19.88 kB / 0.8153 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.4849, allocations: 178.4 kB / 0.8155 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.4866, allocations: 481.5 kB / 0.8159 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.4885, allocations: 0.8227 MB / 0.8167 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.4898, allocations: 1.211 MB / 0.8179 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.4908, allocations: 0.6801 MB / 0.8186 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.4914, allocations: 470.3 kB / 0.819 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005452/0.4919, allocations: 481.8 kB / 0.8195 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.4921, allocations: 116 kB / 0.8196 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008537/0.493, allocations: 0.4918 MB / 0.8201 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.4933, allocations: 291 kB / 0.8203 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.4938, allocations: 0.5323 MB / 0.8209 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.4956, allocations: 1.597 MB / 0.8224 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4956, allocations: 0 / 0.8224 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4956, allocations: 0 / 0.8224 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.465e-05/0.4956, allocations: 4 kB / 0.8224 GB, free: 14.93 MB / 0.6544 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.002396/0.498, allocations: 1.429 MB / 0.8238 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4981, allocations: 12.03 kB / 0.8238 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.4982, allocations: 139.8 kB / 0.824 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.4994, allocations: 212 kB / 0.8242 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5006, allocations: 0.7543 MB / 0.8249 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.5006, allocations: 70 kB / 0.825 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5008, allocations: 84 kB / 0.825 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.5024, allocations: 0.9535 MB / 0.826 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.5024, allocations: 4 kB / 0.826 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.5025, allocations: 36 kB / 0.826 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.5025, allocations: 20 kB / 0.826 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.5044, allocations: 1.132 MB / 0.8271 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.5082, allocations: 2.532 MB / 0.8296 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.5097, allocations: 0.8282 MB / 0.8304 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.5102, allocations: 282.7 kB / 0.8307 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.5109, allocations: 474.2 kB / 0.8311 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007963/0.5117, allocations: 435.2 kB / 0.8316 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.5117, allocations: 0 / 0.8316 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003028/0.5148, allocations: 1.098 MB / 0.8326 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.5149, allocations: 200.5 kB / 0.8328 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000697/0.5156, allocations: 0.6018 MB / 0.8334 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.5156, allocations: 41.7 kB / 0.8334 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.5159, allocations: 408.9 kB / 0.8338 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.5161, allocations: 253.8 kB / 0.8341 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.5163, allocations: 130.2 kB / 0.8342 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5165, allocations: 382.7 kB / 0.8346 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.517, allocations: 225.2 kB / 0.8348 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.5176, allocations: 330.9 kB / 0.8351 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.5187, allocations: 0.5433 MB / 0.8356 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5188, allocations: 0 / 0.8356 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001836/0.5206, allocations: 0.7396 MB / 0.8364 GB, free: 164 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5206, allocations: 4 kB / 0.8364 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.5206, allocations: 7.984 kB / 0.8364 GB, free: 152 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.5212, allocations: 80.81 kB / 0.8364 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.5219, allocations: 143.8 kB / 0.8366 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.524, allocations: 1.623 MB / 0.8382 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.5245, allocations: 83.55 kB / 0.8382 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.5246, allocations: 23.98 kB / 0.8383 GB, free: 14.05 MB / 0.67 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.0003357/0.525, allocations: 263.7 kB / 0.8385 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5251, allocations: 83.48 kB / 0.8386 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.5274, allocations: 0.9865 MB / 0.8396 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.5274, allocations: 8 kB / 0.8396 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5274, allocations: 11.94 kB / 0.8396 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.5275, allocations: 7.922 kB / 0.8396 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.5307, allocations: 1.901 MB / 0.8414 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5307, allocations: 0 / 0.8414 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.5313, allocations: 143.8 kB / 0.8416 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.5318, allocations: 72.78 kB / 0.8417 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.5318, allocations: 23.98 kB / 0.8417 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.5337, allocations: 1.67 MB / 0.8433 GB, free: 8.664 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5337, allocations: 0 / 0.8433 GB, free: 8.664 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.5357, allocations: 0.9204 MB / 0.8442 GB, free: 7.723 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.536, allocations: 264.2 kB / 0.8445 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.5361, allocations: 16 kB / 0.8445 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006291/0.5368, allocations: 62.61 kB / 0.8445 GB, free: 7.371 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5369, allocations: 56.91 kB / 0.8446 GB, free: 7.316 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.537, allocations: 31.98 kB / 0.8446 GB, free: 7.285 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005009/0.5375, allocations: 439 kB / 0.845 GB, free: 6.859 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5375, allocations: 0 / 0.845 GB, free: 6.859 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007267/0.5382, allocations: 311.1 kB / 0.8453 GB, free: 6.555 MB / 0.67 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.003382/0.5416, allocations: 2.005 MB / 0.8473 GB, free: 4.703 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.5431, allocations: 0.7357 MB / 0.848 GB, free: 3.957 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5432, allocations: 4 kB / 0.848 GB, free: 3.953 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009155/0.5441, allocations: 0.4885 MB / 0.8485 GB, free: 3.449 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5453, allocations: 278.2 kB / 0.8488 GB, free: 3.199 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.5555, allocations: 6.072 MB / 0.8547 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.5561, allocations: 1.019 MB / 0.8557 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000719/0.5568, allocations: 254.3 kB / 0.8559 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.5573, allocations: 379.3 kB / 0.8563 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.5573, allocations: 0 / 0.8563 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2982/0.8556, allocations: 20.48 MB / 0.8763 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.92, allocations: 21.06 kB / 0.8763 GB, free: 189.9 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)