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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 174.7 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 0.7258/0.7258, 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 1.535/1.535, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0009525/0.0009525, allocations: 90.3 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.556e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1752, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.437/4.612, allocations: 1.694 GB / 2.335 GB, free: 240.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/4.612, allocations: 91.95 kB / 2.335 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1411/4.753, allocations: 68.08 MB / 2.401 GB, free: 172 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.385e-06/4.753, allocations: 3.938 kB / 2.401 GB, free: 172 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.385e-05/4.754, allocations: 23.94 kB / 2.401 GB, free: 171.9 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.001754/4.755, allocations: 1.126 MB / 2.403 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/4.755, allocations: 12.02 kB / 2.403 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/4.756, allocations: 143.6 kB / 2.403 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/4.757, allocations: 214.4 kB / 2.403 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/4.757, allocations: 0.627 MB / 2.404 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/4.758, allocations: 73.98 kB / 2.404 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/4.758, allocations: 84 kB / 2.404 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/4.759, allocations: 0.9068 MB / 2.405 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/4.759, allocations: 0 / 2.405 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/4.759, allocations: 40 kB / 2.405 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/4.759, allocations: 27.95 kB / 2.405 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/4.76, allocations: 1.073 MB / 2.406 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/4.764, allocations: 2.586 MB / 2.408 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/4.765, allocations: 0.7797 MB / 2.409 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/4.765, allocations: 263.2 kB / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/4.766, allocations: 470.7 kB / 2.41 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005812/4.766, allocations: 429.2 kB / 2.41 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.445e-06/4.766, allocations: 4 kB / 2.41 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.001458/4.768, allocations: 0.6875 MB / 2.411 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/4.768, allocations: 248.1 kB / 2.411 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/4.768, allocations: 0.5856 MB / 2.412 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/4.768, allocations: 41.7 kB / 2.412 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/4.769, allocations: 400.2 kB / 2.412 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/4.769, allocations: 244.5 kB / 2.412 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/4.769, allocations: 15.94 kB / 2.412 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/4.769, allocations: 382.8 kB / 2.413 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/4.769, allocations: 197.5 kB / 2.413 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/4.77, allocations: 309.1 kB / 2.413 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/4.77, allocations: 250 kB / 2.413 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/4.77, allocations: 4 kB / 2.413 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001305/4.771, allocations: 0.6876 MB / 2.414 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/4.771, allocations: 4 kB / 2.414 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/4.771, allocations: 8.062 kB / 2.414 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/4.772, allocations: 76.78 kB / 2.414 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/4.772, allocations: 143.9 kB / 2.414 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/4.774, allocations: 1.517 MB / 2.416 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/4.775, allocations: 79.47 kB / 2.416 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/4.775, allocations: 27.98 kB / 2.416 GB, free: 156.6 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.0001573/4.775, allocations: 146.2 kB / 2.416 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/4.775, allocations: 83.05 kB / 2.416 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/4.777, allocations: 0.9655 MB / 2.417 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/4.777, allocations: 15.94 kB / 2.417 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/4.777, allocations: 0 / 2.417 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/4.777, allocations: 3.984 kB / 2.417 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/4.78, allocations: 1.9 MB / 2.419 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/4.78, allocations: 0 / 2.419 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/4.78, allocations: 147.7 kB / 2.419 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/4.781, allocations: 84.77 kB / 2.419 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.967e-05/4.781, allocations: 23.98 kB / 2.419 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/4.782, allocations: 1.548 MB / 2.421 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/4.782, allocations: 0 / 2.421 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/4.784, allocations: 0.8728 MB / 2.421 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/4.784, allocations: 287.6 kB / 2.422 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/4.784, allocations: 16 kB / 2.422 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/4.785, allocations: 75.89 kB / 2.422 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/4.785, allocations: 56.7 kB / 2.422 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/4.785, allocations: 27.98 kB / 2.422 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000591/4.786, allocations: 487.1 kB / 2.422 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/4.786, allocations: 0 / 2.422 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001296/4.787, allocations: 391 kB / 2.423 GB, free: 149.3 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.003705/4.791, allocations: 2.359 MB / 2.425 GB, free: 147 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001156/4.792, allocations: 0.6864 MB / 2.426 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/4.792, allocations: 0 / 2.426 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000633/4.792, allocations: 467 kB / 2.426 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/4.794, allocations: 244 kB / 2.426 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/4.797, allocations: 1.61 MB / 2.428 GB, free: 144 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/4.798, allocations: 1.043 MB / 2.429 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008552/4.799, allocations: 258.2 kB / 2.429 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004692/4.799, allocations: 375.3 kB / 2.43 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/4.799, allocations: 0 / 2.43 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/4.85, allocations: 31.42 MB / 2.46 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/4.851, allocations: 239.2 kB / 2.46 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/7.907, allocations: 0 / 2.46 GB, free: 110.8 MB / 0.6823 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/linux/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)