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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.172/1.172, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.876/2.876, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 87.41 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.717e-05/7.752e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3381, allocations: 82.32 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.927/10.27, allocations: 1.694 GB / 2.335 GB, free: 197 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006234/10.27, allocations: 93.09 kB / 2.335 GB, free: 197 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2975/10.56, allocations: 68.07 MB / 2.401 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.448e-06/10.56, allocations: 0 / 2.401 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002405/10.56, allocations: 27.92 kB / 2.401 GB, free: 140.2 MB / 0.6823 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.005736/10.57, allocations: 1.127 MB / 2.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.507e-05/10.57, allocations: 8.031 kB / 2.403 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007133/10.57, allocations: 148.6 kB / 2.403 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/10.57, allocations: 214.4 kB / 2.403 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/10.58, allocations: 0.6297 MB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/10.58, allocations: 64.31 kB / 2.404 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004886/10.58, allocations: 89 kB / 2.404 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004023/10.58, allocations: 0.9078 MB / 2.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.565e-05/10.58, allocations: 0 / 2.405 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/10.58, allocations: 40.19 kB / 2.405 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/10.58, allocations: 23.95 kB / 2.405 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/10.58, allocations: 1.079 MB / 2.406 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007932/10.59, allocations: 2.588 MB / 2.408 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/10.59, allocations: 0.7758 MB / 2.409 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/10.6, allocations: 263.2 kB / 2.409 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009154/10.6, allocations: 466.7 kB / 2.41 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/10.6, allocations: 433.2 kB / 2.41 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 7.314e-06/10.6, allocations: 0 / 2.41 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002514/10.6, allocations: 0.6914 MB / 2.411 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/10.6, allocations: 244 kB / 2.411 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/10.6, allocations: 0.5856 MB / 2.412 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/10.6, allocations: 41.7 kB / 2.412 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/10.6, allocations: 404.2 kB / 2.412 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/10.6, allocations: 240.5 kB / 2.412 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/10.6, allocations: 12 kB / 2.412 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/10.6, allocations: 382.8 kB / 2.413 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005315/10.6, allocations: 205.6 kB / 2.413 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/10.6, allocations: 309 kB / 2.413 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000745/10.6, allocations: 254 kB / 2.413 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/10.6, allocations: 0 / 2.413 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002795/10.61, allocations: 0.6837 MB / 2.414 GB, free: 128 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/10.61, allocations: 12.94 kB / 2.414 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/10.61, allocations: 0 / 2.414 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/10.61, allocations: 84.77 kB / 2.414 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/10.61, allocations: 135.8 kB / 2.414 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/10.61, allocations: 1.522 MB / 2.416 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/10.61, allocations: 75.44 kB / 2.416 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/10.61, allocations: 39.91 kB / 2.416 GB, free: 126 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004262/10.61, allocations: 140.9 kB / 2.416 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004786/10.62, allocations: 79.06 kB / 2.416 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/10.62, allocations: 0.9655 MB / 2.417 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/10.62, allocations: 16.03 kB / 2.417 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/10.62, allocations: 0 / 2.417 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/10.62, allocations: 3.984 kB / 2.417 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006744/10.63, allocations: 1.904 MB / 2.419 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/10.63, allocations: 0 / 2.419 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/10.63, allocations: 151.7 kB / 2.419 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008781/10.63, allocations: 80.78 kB / 2.419 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/10.63, allocations: 27.92 kB / 2.419 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/10.63, allocations: 1.536 MB / 2.421 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/10.63, allocations: 0 / 2.421 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/10.63, allocations: 0.8767 MB / 2.421 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009768/10.64, allocations: 279.7 kB / 2.422 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/10.64, allocations: 20 kB / 2.422 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/10.64, allocations: 71.89 kB / 2.422 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/10.64, allocations: 64.69 kB / 2.422 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/10.64, allocations: 27.98 kB / 2.422 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001397/10.64, allocations: 487.1 kB / 2.422 GB, free: 119 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/10.64, allocations: 0 / 2.422 GB, free: 119 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002453/10.64, allocations: 387 kB / 2.423 GB, free: 118.6 MB / 0.6823 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00732/10.65, allocations: 2.36 MB / 2.425 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003058/10.65, allocations: 0.6824 MB / 2.426 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/10.65, allocations: 0 / 2.426 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/10.65, allocations: 479 kB / 2.426 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/10.66, allocations: 233.1 kB / 2.426 GB, free: 115 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008935/10.67, allocations: 1.618 MB / 2.428 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/10.67, allocations: 1.039 MB / 2.429 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002146/10.67, allocations: 262.2 kB / 2.429 GB, free: 112 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/10.67, allocations: 375.2 kB / 2.43 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of SimCode: time 3.086e-06/10.67, allocations: 0 / 2.43 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/10.78, allocations: 31.42 MB / 2.46 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000453/10.78, allocations: 248.2 kB / 2.46 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.404/16.18, allocations: 6.812 kB / 2.46 GB, free: 80.1 MB / 0.6823 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/linux/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)