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.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00119/0.00119, allocations: 197.1 kB / 16.14 MB, free: 6.734 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6662/0.6662, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 57.91 kB / 0.5012 GB, free: 9.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1306, allocations: 80.2 MB / 0.5795 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005401/0.136, allocations: 4.193 MB / 0.5836 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3426/0.4786, allocations: 148.2 MB / 0.7284 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005735/0.4793, allocations: 16.25 kB / 0.7284 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.4797, allocations: 138.5 kB / 0.7285 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.4809, allocations: 409 kB / 0.7289 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.4824, allocations: 0.7094 MB / 0.7296 GB, free: 2.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009224/0.4834, allocations: 1.12 MB / 0.7307 GB, free: 1.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007718/0.4841, allocations: 0.6661 MB / 0.7313 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.4846, allocations: 396.3 kB / 0.7317 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.485, allocations: 456.8 kB / 0.7321 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.4851, allocations: 59.47 kB / 0.7322 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.4859, allocations: 427.5 kB / 0.7326 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.4861, allocations: 238 kB / 0.7328 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.4865, allocations: 494.3 kB / 0.7333 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.4877, allocations: 1.496 MB / 0.7348 GB, free: 20 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4877, allocations: 1.5 kB / 0.7348 GB, free: 20 kB / 0.545 GB Notification: Performance of FrontEnd: time 6.72e-07/0.4877, allocations: 0 / 0.7348 GB, free: 20 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.4878, allocations: 0 / 0.7348 GB, free: 20 kB / 0.545 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.002067/0.4898, allocations: 1.399 MB / 0.7361 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4899, allocations: 9.594 kB / 0.7361 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/0.49, allocations: 143 kB / 0.7363 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.491, allocations: 208 kB / 0.7365 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008751/0.4919, allocations: 0.7292 MB / 0.7372 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.492, allocations: 65.16 kB / 0.7373 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.4921, allocations: 92.09 kB / 0.7373 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.4935, allocations: 0.9463 MB / 0.7383 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4935, allocations: 2.75 kB / 0.7383 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.4936, allocations: 36.03 kB / 0.7383 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.4936, allocations: 22.12 kB / 0.7383 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.4953, allocations: 1.125 MB / 0.7394 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.4987, allocations: 2.566 MB / 0.7419 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.5, allocations: 0.8248 MB / 0.7427 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.5005, allocations: 282.5 kB / 0.743 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005902/0.5011, allocations: 476.1 kB / 0.7435 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.5018, allocations: 438.3 kB / 0.7439 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.5018, allocations: 0 / 0.7439 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002708/0.5045, allocations: 1.105 MB / 0.745 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.5046, allocations: 192.1 kB / 0.7451 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.5052, allocations: 0.596 MB / 0.7457 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.5053, allocations: 46.61 kB / 0.7458 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.5056, allocations: 406 kB / 0.7462 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5057, allocations: 239.1 kB / 0.7464 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.5059, allocations: 134.2 kB / 0.7465 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5061, allocations: 382.7 kB / 0.7469 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.5065, allocations: 225.2 kB / 0.7471 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005243/0.5071, allocations: 322.8 kB / 0.7474 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009658/0.508, allocations: 0.5394 MB / 0.7479 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5081, allocations: 4 kB / 0.7479 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001658/0.5097, allocations: 0.7392 MB / 0.7486 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5097, allocations: 4 kB / 0.7486 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5098, allocations: 4 kB / 0.7487 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.5103, allocations: 80.86 kB / 0.7487 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.5109, allocations: 139.8 kB / 0.7489 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.5127, allocations: 1.519 MB / 0.7503 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.5133, allocations: 87.27 kB / 0.7504 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.5133, allocations: 23.98 kB / 0.7505 GB, free: 3.539 MB / 0.5606 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.0003461/0.5137, allocations: 257.6 kB / 0.7507 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.5138, allocations: 83.06 kB / 0.7508 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/0.516, allocations: 0.9904 MB / 0.7517 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.516, allocations: 8 kB / 0.7518 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.516, allocations: 0.875 kB / 0.7518 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.516, allocations: 7.984 kB / 0.7518 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.519, allocations: 1.902 MB / 0.7536 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.519, allocations: 0 / 0.7536 GB, free: 240 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.5195, allocations: 151.7 kB / 0.7538 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.52, allocations: 84.72 kB / 0.7538 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.5201, allocations: 18.48 kB / 0.7539 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.5217, allocations: 1.552 MB / 0.7554 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5217, allocations: 0 / 0.7554 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.5235, allocations: 0.9219 MB / 0.7563 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.5238, allocations: 258.4 kB / 0.7565 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.5239, allocations: 20 kB / 0.7565 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005646/0.5244, allocations: 60.91 kB / 0.7566 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5246, allocations: 68.84 kB / 0.7567 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.5246, allocations: 27.98 kB / 0.7567 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004548/0.5251, allocations: 439 kB / 0.7571 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5251, allocations: 0 / 0.7571 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007548/0.5259, allocations: 311.2 kB / 0.7574 GB, free: 12.18 MB / 0.5762 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.00306/0.5289, allocations: 1.976 MB / 0.7593 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.5303, allocations: 0.7311 MB / 0.7601 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.5303, allocations: 0 / 0.7601 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.5311, allocations: 0.4929 MB / 0.7605 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5322, allocations: 260.8 kB / 0.7608 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.5426, allocations: 6.642 MB / 0.7673 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.5432, allocations: 1.015 MB / 0.7683 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000797/0.544, allocations: 258.3 kB / 0.7685 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.5445, allocations: 379.3 kB / 0.7689 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5445, allocations: 0 / 0.7689 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5149/1.059, allocations: 19.58 MB / 0.788 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/1.06, allocations: 305.8 kB / 0.7883 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.46, allocations: 3.938 kB / 0.7883 GB, free: 12.95 MB / 0.6075 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)