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.004577/0.004577, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00121/0.00121, allocations: 199.9 kB / 16.68 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9675/0.9675, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 63.89 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3343, allocations: 81.02 MB / 0.6649 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004597/0.3389, allocations: 4.179 MB / 0.6689 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1718/0.5108, allocations: 150.5 MB / 0.816 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.5115, allocations: 23.88 kB / 0.816 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.512, allocations: 166.5 kB / 0.8161 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.5135, allocations: 475.7 kB / 0.8166 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.5154, allocations: 0.8237 MB / 0.8174 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.5166, allocations: 1.203 MB / 0.8186 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009419/0.5176, allocations: 0.6904 MB / 0.8193 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.5181, allocations: 466.3 kB / 0.8197 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.5187, allocations: 481.8 kB / 0.8202 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.5188, allocations: 112 kB / 0.8203 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.5196, allocations: 0.4917 MB / 0.8207 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.52, allocations: 291 kB / 0.821 GB, free: 436 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005084/0.5205, allocations: 0.5325 MB / 0.8215 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.5222, allocations: 1.589 MB / 0.8231 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5222, allocations: 0 / 0.8231 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5223, allocations: 0 / 0.8231 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.5223, allocations: 0 / 0.8231 GB, free: 14.3 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.002267/0.5245, allocations: 1.433 MB / 0.8245 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5246, allocations: 12.03 kB / 0.8245 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.5248, allocations: 139.8 kB / 0.8246 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.5259, allocations: 216 kB / 0.8248 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.527, allocations: 0.7543 MB / 0.8256 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.5271, allocations: 66 kB / 0.8256 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5273, allocations: 87.94 kB / 0.8257 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.529, allocations: 0.9535 MB / 0.8267 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.529, allocations: 0 / 0.8267 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/0.5291, allocations: 40 kB / 0.8267 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.5291, allocations: 24 kB / 0.8267 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.5312, allocations: 1.124 MB / 0.8278 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.5352, allocations: 2.539 MB / 0.8303 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.5369, allocations: 0.825 MB / 0.8311 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.5375, allocations: 282.7 kB / 0.8314 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006996/0.5382, allocations: 470.2 kB / 0.8318 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008683/0.5391, allocations: 447.3 kB / 0.8322 GB, free: 4.586 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 1.963e-06/0.5391, allocations: 4 kB / 0.8323 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003191/0.5423, allocations: 1.097 MB / 0.8333 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.5424, allocations: 192.6 kB / 0.8335 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.5432, allocations: 0.6018 MB / 0.8341 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.5433, allocations: 41.7 kB / 0.8341 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.5436, allocations: 412.9 kB / 0.8345 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.5439, allocations: 249.8 kB / 0.8348 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.5441, allocations: 134.2 kB / 0.8349 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.5443, allocations: 386.7 kB / 0.8353 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.5449, allocations: 225.2 kB / 0.8355 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.5455, allocations: 326.8 kB / 0.8358 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.5467, allocations: 0.5394 MB / 0.8363 GB, free: 280 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5467, allocations: 0 / 0.8363 GB, free: 280 kB / 0.6544 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001953/0.5487, allocations: 0.7318 MB / 0.837 GB, free: 15.53 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5487, allocations: 11.98 kB / 0.837 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5487, allocations: 0 / 0.837 GB, free: 15.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.5493, allocations: 84.81 kB / 0.8371 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006183/0.5499, allocations: 139.8 kB / 0.8373 GB, free: 15.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.5522, allocations: 1.619 MB / 0.8388 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.5528, allocations: 83.55 kB / 0.8389 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.5529, allocations: 28.05 kB / 0.8389 GB, free: 13.42 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.0003565/0.5532, allocations: 261.7 kB / 0.8392 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.5534, allocations: 83.42 kB / 0.8393 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.5559, allocations: 0.9983 MB / 0.8402 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.5559, allocations: 8 kB / 0.8403 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.5559, allocations: 11.88 kB / 0.8403 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.556, allocations: 3.984 kB / 0.8403 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.5594, allocations: 1.901 MB / 0.8421 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5594, allocations: 0 / 0.8421 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.56, allocations: 143.8 kB / 0.8423 GB, free: 9.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.5605, allocations: 76.72 kB / 0.8423 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.5606, allocations: 23.98 kB / 0.8424 GB, free: 9.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.5627, allocations: 1.662 MB / 0.844 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5627, allocations: 7.984 kB / 0.844 GB, free: 8.023 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.5648, allocations: 0.9243 MB / 0.8449 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.5651, allocations: 264.2 kB / 0.8451 GB, free: 6.801 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5652, allocations: 16 kB / 0.8452 GB, free: 6.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.5658, allocations: 60.94 kB / 0.8452 GB, free: 6.73 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.566, allocations: 60.91 kB / 0.8453 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.5661, allocations: 27.98 kB / 0.8453 GB, free: 6.645 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005589/0.5666, allocations: 443 kB / 0.8457 GB, free: 6.215 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5666, allocations: 4 kB / 0.8457 GB, free: 6.211 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007439/0.5674, allocations: 311.1 kB / 0.846 GB, free: 5.906 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.004213/0.5716, allocations: 1.993 MB / 0.848 GB, free: 4.066 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.5732, allocations: 0.7394 MB / 0.8487 GB, free: 3.312 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5732, allocations: 3.938 kB / 0.8487 GB, free: 3.309 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.5742, allocations: 0.4887 MB / 0.8492 GB, free: 2.805 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.5755, allocations: 292 kB / 0.8495 GB, free: 2.543 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.5866, allocations: 6.057 MB / 0.8554 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/0.5873, allocations: 1.019 MB / 0.8564 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007338/0.5881, allocations: 258.2 kB / 0.8566 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.5886, allocations: 375.3 kB / 0.857 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of SimCode: time 2.5e-07/0.5886, allocations: 0 / 0.857 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2939/0.8825, allocations: 20.48 MB / 0.877 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.43, allocations: 8.469 kB / 0.877 GB, free: 189.2 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)