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.0008237/0.0008237, allocations: 91.3 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.004475/0.004475, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8547/0.8547, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003295, allocations: 9.75 kB / 0.5077 GB, free: 4.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 82.31 MB / 0.5881 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004445/0.1432, allocations: 3.772 MB / 0.5918 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3725/0.5157, allocations: 146.6 MB / 0.735 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.5163, allocations: 14.56 kB / 0.735 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.5168, allocations: 144 kB / 0.7351 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.5182, allocations: 393 kB / 0.7355 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.52, allocations: 0.7188 MB / 0.7362 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001373/0.5214, allocations: 1.115 MB / 0.7373 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009281/0.5224, allocations: 0.6521 MB / 0.7379 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.5229, allocations: 316.4 kB / 0.7382 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.5235, allocations: 342.6 kB / 0.7385 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.5237, allocations: 22.59 kB / 0.7386 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008844/0.5246, allocations: 385.5 kB / 0.7389 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.5248, allocations: 180.6 kB / 0.7391 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.5252, allocations: 432.3 kB / 0.7395 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.5266, allocations: 1.446 MB / 0.7409 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.5267, allocations: 0 / 0.7409 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5267, allocations: 4 kB / 0.7409 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.5267, allocations: 1.25 kB / 0.7409 GB, free: 11.64 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.001589/0.5283, allocations: 1.18 MB / 0.7421 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.256e-05/0.5283, allocations: 11.03 kB / 0.7421 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.5284, allocations: 144.5 kB / 0.7422 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009364/0.5294, allocations: 211.4 kB / 0.7424 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.5302, allocations: 0.7272 MB / 0.7431 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.5303, allocations: 75.03 kB / 0.7432 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.5304, allocations: 85.44 kB / 0.7433 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5318, allocations: 0.9562 MB / 0.7442 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5319, allocations: 0 / 0.7442 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.5319, allocations: 37.62 kB / 0.7443 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.532, allocations: 22 kB / 0.7443 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.5337, allocations: 1.135 MB / 0.7454 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.537, allocations: 2.583 MB / 0.7479 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.5383, allocations: 0.8327 MB / 0.7487 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.5387, allocations: 296.9 kB / 0.749 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.5393, allocations: 473.6 kB / 0.7495 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.54, allocations: 440 kB / 0.7499 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.864e-06/0.54, allocations: 1.781 kB / 0.7499 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002616/0.5426, allocations: 1.113 MB / 0.751 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.5427, allocations: 192.6 kB / 0.7512 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.5434, allocations: 0.6033 MB / 0.7517 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.5434, allocations: 37.7 kB / 0.7518 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.5437, allocations: 400.1 kB / 0.7522 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.5439, allocations: 240.5 kB / 0.7524 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.5439, allocations: 57.8 kB / 0.7524 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5441, allocations: 390.6 kB / 0.7528 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.5445, allocations: 221.2 kB / 0.753 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.5451, allocations: 330.8 kB / 0.7533 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.546, allocations: 0.555 MB / 0.7539 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.546, allocations: 0 / 0.7539 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001616/0.5477, allocations: 0.7509 MB / 0.7546 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5477, allocations: 4 kB / 0.7546 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5477, allocations: 0 / 0.7546 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.5483, allocations: 92.86 kB / 0.7547 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.5488, allocations: 143.7 kB / 0.7549 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.5506, allocations: 1.51 MB / 0.7563 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.5511, allocations: 90.48 kB / 0.7564 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.5512, allocations: 28.05 kB / 0.7564 GB, free: 15.27 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.000316/0.5515, allocations: 260.3 kB / 0.7567 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5516, allocations: 83 kB / 0.7568 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.5537, allocations: 1.005 MB / 0.7577 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.5538, allocations: 8 kB / 0.7578 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.5538, allocations: 0 / 0.7578 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5538, allocations: 7.969 kB / 0.7578 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.5566, allocations: 1.911 MB / 0.7596 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5566, allocations: 3.938 kB / 0.7596 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/0.5572, allocations: 143.8 kB / 0.7598 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/0.5577, allocations: 88.7 kB / 0.7599 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.5577, allocations: 23.98 kB / 0.7599 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.5593, allocations: 1.548 MB / 0.7614 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5594, allocations: 0 / 0.7614 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.561, allocations: 0.9336 MB / 0.7623 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.5613, allocations: 271.7 kB / 0.7626 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.5614, allocations: 16 kB / 0.7626 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.562, allocations: 75.88 kB / 0.7626 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5621, allocations: 56.92 kB / 0.7627 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.5622, allocations: 35.97 kB / 0.7627 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004546/0.5627, allocations: 443 kB / 0.7632 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5627, allocations: 0 / 0.7632 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007509/0.5634, allocations: 307.2 kB / 0.7635 GB, free: 7.832 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.003039/0.5665, allocations: 1.99 MB / 0.7654 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.5678, allocations: 0.7428 MB / 0.7661 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5679, allocations: 0 / 0.7661 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008059/0.5687, allocations: 0.5045 MB / 0.7666 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5698, allocations: 254 kB / 0.7669 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5804, allocations: 6.71 MB / 0.7734 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.5809, allocations: 1.023 MB / 0.7744 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007438/0.5817, allocations: 250.2 kB / 0.7746 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.5821, allocations: 375.3 kB / 0.775 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.5822, allocations: 0 / 0.775 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.175/2.757, allocations: 19.3 MB / 0.7938 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003435/2.757, allocations: 314.6 kB / 0.7941 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/5.248, allocations: 0 / 0.7941 GB, free: 8.75 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)