Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001501/0.001502, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8761/0.8761, allocations: 133.6 MB / 141.6 MB, free: 2.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008988, allocations: 100.5 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.261e-05/2.269e-05, allocations: 4 kB / 0.5536 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4986, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.691/4.189, allocations: 1.694 GB / 2.328 GB, free: 43.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/4.19, allocations: 92.83 kB / 2.328 GB, free: 43.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5021/4.692, allocations: 64.62 MB / 2.391 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/4.692, allocations: 0 / 2.391 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.26e-05/4.692, allocations: 22.88 kB / 2.391 GB, free: 234.1 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001775/4.694, allocations: 1.122 MB / 2.392 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/4.694, allocations: 10.66 kB / 2.392 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/4.695, allocations: 302.1 kB / 2.392 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009857/4.696, allocations: 0.6355 MB / 2.393 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/4.696, allocations: 29.97 kB / 2.393 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/4.696, allocations: 55.53 kB / 2.393 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001333/4.698, allocations: 1.056 MB / 2.394 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/4.699, allocations: 0.7972 MB / 2.395 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/4.699, allocations: 3.844 kB / 2.395 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/4.699, allocations: 2.031 kB / 2.395 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/4.699, allocations: 23.69 kB / 2.395 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/4.703, allocations: 2.427 MB / 2.397 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/4.705, allocations: 0.8103 MB / 2.398 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/4.705, allocations: 261.4 kB / 2.398 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.033e-05/4.705, allocations: 33.72 kB / 2.398 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005594/4.705, allocations: 410.8 kB / 2.399 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 2.675e-06/4.705, allocations: 0 / 2.399 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.001526/4.707, allocations: 0.6754 MB / 2.399 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/4.707, allocations: 243.5 kB / 2.4 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/4.708, allocations: 0.491 MB / 2.4 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/4.708, allocations: 33.11 kB / 2.4 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/4.708, allocations: 406.9 kB / 2.4 GB, free: 231.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/4.708, allocations: 242 kB / 2.401 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/4.708, allocations: 0 / 2.401 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001242/4.709, allocations: 373.9 kB / 2.401 GB, free: 231 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/4.709, allocations: 202.4 kB / 2.401 GB, free: 231 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/4.709, allocations: 302.2 kB / 2.402 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/4.71, allocations: 253.7 kB / 2.402 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/4.71, allocations: 0 / 2.402 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00139/4.711, allocations: 0.6754 MB / 2.402 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/4.711, allocations: 5.531 kB / 2.402 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/4.711, allocations: 0 / 2.402 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/4.712, allocations: 87.84 kB / 2.403 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/4.712, allocations: 157 kB / 2.403 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/4.714, allocations: 1.448 MB / 2.404 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/4.715, allocations: 86 kB / 2.404 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/4.715, allocations: 32.47 kB / 2.404 GB, free: 229.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 (77): * Single equations (assignments): 76 * 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.0002095/4.715, allocations: 116.8 kB / 2.404 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001495/4.717, allocations: 0.6845 MB / 2.405 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/4.717, allocations: 67.56 kB / 2.405 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/4.719, allocations: 0.9399 MB / 2.406 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/4.719, allocations: 10.81 kB / 2.406 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/4.719, allocations: 6.984 kB / 2.406 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/4.719, allocations: 3.703 kB / 2.406 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/4.721, allocations: 1.771 MB / 2.408 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/4.721, allocations: 0 / 2.408 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/4.722, allocations: 167.7 kB / 2.408 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/4.723, allocations: 83.36 kB / 2.408 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/4.723, allocations: 15.95 kB / 2.408 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/4.724, allocations: 1.485 MB / 2.409 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/4.724, allocations: 0 / 2.409 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/4.726, allocations: 0.8578 MB / 2.41 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/4.726, allocations: 275.6 kB / 2.411 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/4.726, allocations: 10.25 kB / 2.411 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/4.727, allocations: 72.36 kB / 2.411 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/4.727, allocations: 60.48 kB / 2.411 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/4.727, allocations: 37.62 kB / 2.411 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004371/4.727, allocations: 398.5 kB / 2.411 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/4.727, allocations: 0 / 2.411 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001091/4.728, allocations: 348.3 kB / 2.411 GB, free: 227.1 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 (88): * Single equations (assignments): 85 * 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.003212/4.732, allocations: 2.379 MB / 2.414 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001167/4.733, allocations: 0.673 MB / 2.414 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/4.733, allocations: 3.812 kB / 2.414 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006271/4.734, allocations: 467.3 kB / 2.415 GB, free: 226 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/4.735, allocations: 217.1 kB / 2.415 GB, free: 226 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/4.739, allocations: 1.547 MB / 2.417 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/4.739, allocations: 1.046 MB / 2.418 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009381/4.74, allocations: 260.1 kB / 2.418 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004812/4.74, allocations: 376.2 kB / 2.418 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/4.74, allocations: 0 / 2.418 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/4.789, allocations: 23.62 MB / 2.441 GB, free: 209 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/4.789, allocations: 194 kB / 2.441 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/7.754, allocations: 1.828 kB / 2.441 GB, free: 208.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)