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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004782/0.004783, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001141/0.001141, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9728/0.9728, allocations: 135.1 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 59.91 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5265, allocations: 80.92 MB / 0.6646 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005435/0.532, allocations: 4.196 MB / 0.6687 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.7215, allocations: 150.5 MB / 0.8157 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.7227, allocations: 23.81 kB / 0.8158 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.7236, allocations: 174.5 kB / 0.8159 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.7261, allocations: 475.9 kB / 0.8164 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.7286, allocations: 0.8321 MB / 0.8172 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001573/0.7302, allocations: 1.199 MB / 0.8184 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008661/0.7311, allocations: 0.6903 MB / 0.819 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.7317, allocations: 466.3 kB / 0.8195 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.7321, allocations: 489.8 kB / 0.8199 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.7323, allocations: 112 kB / 0.82 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.7333, allocations: 0.4957 MB / 0.8205 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.7336, allocations: 291 kB / 0.8208 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.734, allocations: 0.5284 MB / 0.8213 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.7356, allocations: 1.579 MB / 0.8229 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7356, allocations: 0 / 0.8229 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7357, allocations: 4 kB / 0.8229 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.7357, allocations: 0 / 0.8229 GB, free: 15.05 MB / 0.6544 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.001996/0.7377, allocations: 1.392 MB / 0.8242 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7377, allocations: 8.031 kB / 0.8242 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.7388, allocations: 207.4 kB / 0.8244 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.7398, allocations: 0.7422 MB / 0.8252 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.7399, allocations: 73.94 kB / 0.8252 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.74, allocations: 88 kB / 0.8253 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.7415, allocations: 0.9535 MB / 0.8262 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.7416, allocations: 0 / 0.8262 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.771e-05/0.7416, allocations: 36 kB / 0.8263 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.7417, allocations: 24 kB / 0.8263 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.7434, allocations: 1.128 MB / 0.8274 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004289/0.7477, allocations: 2.514 MB / 0.8299 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.7494, allocations: 0.8255 MB / 0.8307 GB, free: 6.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.75, allocations: 290.6 kB / 0.8309 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008268/0.7509, allocations: 466.2 kB / 0.8314 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008308/0.7517, allocations: 447.1 kB / 0.8318 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.7517, allocations: 0 / 0.8318 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002997/0.7547, allocations: 1.096 MB / 0.8329 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.7549, allocations: 188.6 kB / 0.8331 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008284/0.7557, allocations: 0.6057 MB / 0.8337 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.7558, allocations: 41.7 kB / 0.8337 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.7562, allocations: 400.1 kB / 0.8341 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.7565, allocations: 244.5 kB / 0.8343 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.7567, allocations: 154.5 kB / 0.8345 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7569, allocations: 382.7 kB / 0.8348 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.7575, allocations: 249.9 kB / 0.8351 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.758, allocations: 331.1 kB / 0.8354 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.759, allocations: 0.5683 MB / 0.8359 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.759, allocations: 3.938 kB / 0.8359 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001938/0.761, allocations: 0.7903 MB / 0.8367 GB, free: 412 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.487e-05/0.761, allocations: 4 kB / 0.8367 GB, free: 408 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7611, allocations: 4.094 kB / 0.8367 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.7617, allocations: 80.77 kB / 0.8368 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.7624, allocations: 155.8 kB / 0.8369 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.7647, allocations: 1.623 MB / 0.8385 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.7653, allocations: 95.31 kB / 0.8386 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.7654, allocations: 27.98 kB / 0.8386 GB, free: 14.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (84): * Single equations (assignments): 83 * 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.0003981/0.7658, allocations: 268.5 kB / 0.8389 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.7659, allocations: 75.06 kB / 0.839 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.7682, allocations: 0.9901 MB / 0.8399 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.7682, allocations: 8 kB / 0.8399 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7682, allocations: 3.938 kB / 0.84 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.7682, allocations: 3.984 kB / 0.84 GB, free: 12.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.7717, allocations: 1.897 MB / 0.8418 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7717, allocations: 3.938 kB / 0.8418 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.7723, allocations: 151.8 kB / 0.842 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004096/0.7727, allocations: 68.8 kB / 0.842 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.7728, allocations: 23.98 kB / 0.842 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.7747, allocations: 1.658 MB / 0.8437 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7747, allocations: 64 / 0.8437 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.7766, allocations: 0.9315 MB / 0.8446 GB, free: 7.945 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.7769, allocations: 251.8 kB / 0.8448 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.104e-05/0.777, allocations: 19.98 kB / 0.8448 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.7775, allocations: 47.95 kB / 0.8449 GB, free: 7.613 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.7777, allocations: 64.91 kB / 0.8449 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.7778, allocations: 31.98 kB / 0.845 GB, free: 7.52 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005374/0.7783, allocations: 435 kB / 0.8454 GB, free: 7.098 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7783, allocations: 0 / 0.8454 GB, free: 7.098 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001015/0.7793, allocations: 315.2 kB / 0.8457 GB, free: 6.789 MB / 0.67 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.001481/0.7808, allocations: 0.6183 MB / 0.8463 GB, free: 6.344 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.7826, allocations: 0.7726 MB / 0.847 GB, free: 5.559 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.7826, allocations: 0 / 0.847 GB, free: 5.559 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009546/0.7836, allocations: 0.4965 MB / 0.8475 GB, free: 5.051 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.7847, allocations: 291.1 kB / 0.8478 GB, free: 4.797 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.7885, allocations: 1.715 MB / 0.8495 GB, free: 3.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.7891, allocations: 1.019 MB / 0.8505 GB, free: 2.008 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007337/0.7899, allocations: 266 kB / 0.8507 GB, free: 1.746 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.7901, allocations: 99.39 kB / 0.8508 GB, free: 1.648 MB / 0.67 GB Notification: Performance of SimCode: time 4.3e-07/0.7901, allocations: 0 / 0.8508 GB, free: 1.648 MB / 0.67 GB Notification: Performance of Templates: time 0.02716/0.8173, allocations: 14.31 MB / 0.8648 GB, free: 3.477 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)