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/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/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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8131/0.8131, allocations: 130.7 MB / 138.7 MB, free: 3.516 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.603/1.603, allocations: 221.5 MB / 391.8 MB, free: 14.22 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.001144/0.001144, allocations: 104.7 kB / 473.9 MB, free: 4.469 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.205e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6057, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.28/5.885, allocations: 1.693 GB / 2.322 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/5.886, allocations: 95.05 kB / 2.322 GB, free: 180.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1442/6.03, allocations: 67.22 MB / 2.387 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/6.03, allocations: 0 / 2.387 GB, free: 158.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.179e-05/6.03, allocations: 24 kB / 2.387 GB, free: 158.5 MB / 0.6667 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.001734/6.032, allocations: 1.123 MB / 2.388 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/6.032, allocations: 12.03 kB / 2.389 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/6.033, allocations: 217.3 kB / 2.389 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/6.034, allocations: 0.6291 MB / 2.389 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/6.034, allocations: 28 kB / 2.389 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/6.034, allocations: 52 kB / 2.389 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001248/6.035, allocations: 1.021 MB / 2.39 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/6.036, allocations: 0.7896 MB / 2.391 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/6.036, allocations: 3.938 kB / 2.391 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/6.036, allocations: 7.953 kB / 2.391 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/6.036, allocations: 23.94 kB / 2.391 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/6.039, allocations: 2.402 MB / 2.394 GB, free: 153.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/6.04, allocations: 0.7373 MB / 2.394 GB, free: 152.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/6.041, allocations: 240.7 kB / 2.394 GB, free: 152.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/6.041, allocations: 473.8 kB / 2.395 GB, free: 151.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004931/6.042, allocations: 398.1 kB / 2.395 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/6.042, allocations: 3.938 kB / 2.395 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73): time 0.003893/6.045, allocations: 1.184 MB / 2.396 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/6.046, allocations: 244.2 kB / 2.397 GB, free: 150.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/6.046, allocations: 0.4975 MB / 2.397 GB, free: 149.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/6.046, allocations: 29.7 kB / 2.397 GB, free: 149.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/6.046, allocations: 398.9 kB / 2.398 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/6.047, allocations: 234.8 kB / 2.398 GB, free: 149.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/6.047, allocations: 0 / 2.398 GB, free: 149.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/6.047, allocations: 374.7 kB / 2.398 GB, free: 149 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/6.047, allocations: 188.5 kB / 2.398 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/6.047, allocations: 297 kB / 2.399 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/6.05, allocations: 0.7711 MB / 2.399 GB, free: 148 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/6.05, allocations: 0 / 2.399 GB, free: 148 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003832/6.054, allocations: 1.188 MB / 2.401 GB, free: 147 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/6.054, allocations: 7.938 kB / 2.401 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/6.054, allocations: 0 / 2.401 GB, free: 147 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/6.055, allocations: 83.75 kB / 2.401 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/6.055, allocations: 136.2 kB / 2.401 GB, free: 146.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/6.057, allocations: 1.465 MB / 2.402 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/6.057, allocations: 59.58 kB / 2.402 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/6.057, allocations: 23.36 kB / 2.402 GB, free: 145.2 MB / 0.6667 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.0001518/6.058, allocations: 124.8 kB / 2.402 GB, free: 145.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/6.058, allocations: 71.22 kB / 2.402 GB, free: 145 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/6.062, allocations: 1.437 MB / 2.404 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/6.062, allocations: 8 kB / 2.404 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/6.062, allocations: 0 / 2.404 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/6.062, allocations: 15.94 kB / 2.404 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/6.067, allocations: 2.256 MB / 2.406 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/6.067, allocations: 0 / 2.406 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/6.067, allocations: 143.8 kB / 2.406 GB, free: 141.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/6.068, allocations: 84.77 kB / 2.406 GB, free: 141.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/6.068, allocations: 15.98 kB / 2.406 GB, free: 141.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/6.069, allocations: 1.473 MB / 2.408 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/6.069, allocations: 7.984 kB / 2.408 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003884/6.073, allocations: 1.365 MB / 2.409 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/6.074, allocations: 275.8 kB / 2.409 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/6.074, allocations: 4 kB / 2.409 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/6.074, allocations: 55.94 kB / 2.409 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/6.074, allocations: 56.7 kB / 2.41 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/6.074, allocations: 27.98 kB / 2.41 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004377/6.075, allocations: 402.9 kB / 2.41 GB, free: 137.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.31e-07/6.075, allocations: 0 / 2.41 GB, free: 137.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001055/6.076, allocations: 358.9 kB / 2.41 GB, free: 137.4 MB / 0.6667 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.001596/6.077, allocations: 1.118 MB / 2.411 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009658/6.078, allocations: 0.6395 MB / 2.412 GB, free: 135.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/6.078, allocations: 8.125 kB / 2.412 GB, free: 135.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005393/6.079, allocations: 440.5 kB / 2.412 GB, free: 135.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009978/6.08, allocations: 218.8 kB / 2.413 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/6.083, allocations: 1.332 MB / 2.414 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/6.083, allocations: 1.035 MB / 2.415 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007917/6.084, allocations: 257.7 kB / 2.415 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/6.084, allocations: 87.39 kB / 2.415 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of SimCode: time 7.22e-07/6.084, allocations: 4 kB / 2.415 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.02105/6.105, allocations: 15.76 MB / 2.431 GB, free: 116.6 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)