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.000862/0.000862, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004918/0.004918, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.154/1.154, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6587/0.6587, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002596, allocations: 16.81 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 81.57 MB / 0.5838 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003509/0.3078, allocations: 3.791 MB / 0.5875 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1274/0.4352, allocations: 146.6 MB / 0.7306 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.4358, allocations: 11.94 kB / 0.7307 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.4362, allocations: 131 kB / 0.7308 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.4373, allocations: 405 kB / 0.7312 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.4387, allocations: 0.7054 MB / 0.7319 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00101/0.4397, allocations: 1.125 MB / 0.733 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.4405, allocations: 0.6464 MB / 0.7336 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.4409, allocations: 318.3 kB / 0.7339 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.4413, allocations: 344.2 kB / 0.7342 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.76e-05/0.4414, allocations: 20 kB / 0.7342 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006068/0.442, allocations: 391.6 kB / 0.7346 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.4422, allocations: 179.1 kB / 0.7348 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.4425, allocations: 442.9 kB / 0.7352 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.4437, allocations: 1.44 MB / 0.7366 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4437, allocations: 0 / 0.7366 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4437, allocations: 0 / 0.7366 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.4438, allocations: 0 / 0.7366 GB, free: 3.332 MB / 0.5606 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.001717/0.4455, allocations: 1.182 MB / 0.7378 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4455, allocations: 8.031 kB / 0.7378 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.4457, allocations: 143.8 kB / 0.7379 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009612/0.4467, allocations: 219.4 kB / 0.7381 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.4475, allocations: 0.7226 MB / 0.7388 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.4476, allocations: 66 kB / 0.7389 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4477, allocations: 95.94 kB / 0.739 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.4491, allocations: 0.9536 MB / 0.7399 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.4491, allocations: 0 / 0.7399 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.4492, allocations: 36 kB / 0.7399 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.4492, allocations: 24 kB / 0.74 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.4508, allocations: 1.136 MB / 0.7411 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.4542, allocations: 2.595 MB / 0.7436 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.4555, allocations: 0.8322 MB / 0.7444 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.456, allocations: 294.7 kB / 0.7447 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/0.4566, allocations: 470.2 kB / 0.7452 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007037/0.4573, allocations: 443.2 kB / 0.7456 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.754e-06/0.4573, allocations: 0 / 0.7456 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002613/0.4599, allocations: 1.12 MB / 0.7467 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.46, allocations: 188.6 kB / 0.7469 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005933/0.4606, allocations: 0.6018 MB / 0.7474 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.4606, allocations: 41.7 kB / 0.7475 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.4609, allocations: 404.1 kB / 0.7479 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.461, allocations: 236.5 kB / 0.7481 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.4611, allocations: 57.69 kB / 0.7481 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4613, allocations: 386.8 kB / 0.7485 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.4617, allocations: 229.1 kB / 0.7487 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.4622, allocations: 330.8 kB / 0.749 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.4631, allocations: 0.5472 MB / 0.7496 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4632, allocations: 0 / 0.7496 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001543/0.4647, allocations: 0.747 MB / 0.7503 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4647, allocations: 8 kB / 0.7503 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4647, allocations: 0 / 0.7503 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.4653, allocations: 84.81 kB / 0.7504 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.4658, allocations: 143.8 kB / 0.7505 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.4675, allocations: 1.515 MB / 0.752 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.468, allocations: 87.33 kB / 0.7521 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.468, allocations: 27.98 kB / 0.7521 GB, free: 2.793 MB / 0.5762 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.0002921/0.4683, allocations: 257.9 kB / 0.7524 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.4684, allocations: 82.98 kB / 0.7525 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.4705, allocations: 1.01 MB / 0.7534 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4705, allocations: 8 kB / 0.7534 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.4705, allocations: 0 / 0.7534 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4705, allocations: 3.984 kB / 0.7534 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.4732, allocations: 1.911 MB / 0.7553 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4732, allocations: 0 / 0.7553 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.4738, allocations: 155.8 kB / 0.7555 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/0.4742, allocations: 84.72 kB / 0.7555 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.4743, allocations: 23.97 kB / 0.7556 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.4758, allocations: 1.544 MB / 0.7571 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4758, allocations: 64 / 0.7571 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4774, allocations: 0.9335 MB / 0.758 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.4777, allocations: 275.7 kB / 0.7582 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.586e-05/0.4778, allocations: 15.98 kB / 0.7583 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005551/0.4784, allocations: 71.89 kB / 0.7583 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.4785, allocations: 60.91 kB / 0.7584 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/0.4785, allocations: 31.98 kB / 0.7584 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000419/0.4789, allocations: 439 kB / 0.7588 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.479, allocations: 0 / 0.7588 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000644/0.4796, allocations: 307.2 kB / 0.7591 GB, free: 11.35 MB / 0.5919 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.002903/0.4825, allocations: 1.997 MB / 0.7611 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.4838, allocations: 0.7396 MB / 0.7618 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4838, allocations: 0 / 0.7618 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.4846, allocations: 0.4886 MB / 0.7623 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.4856, allocations: 256.2 kB / 0.7625 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009933/0.4956, allocations: 6.732 MB / 0.7691 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.496, allocations: 1.012 MB / 0.7701 GB, free: 180 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006772/0.4967, allocations: 266.2 kB / 0.7703 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.4972, allocations: 375.3 kB / 0.7707 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.4972, allocations: 0 / 0.7707 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.018/1.515, allocations: 19.29 MB / 0.7895 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/1.516, allocations: 301.8 kB / 0.7898 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/4.241, allocations: 0 / 0.7898 GB, free: 12.3 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)