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.0008146/0.0008146, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001196/0.001196, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.05/1.05, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 8 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1853, allocations: 82.31 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004563/0.1899, allocations: 3.58 MB / 0.5909 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5401/0.73, allocations: 136.7 MB / 0.7244 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009353/0.731, allocations: 15.5 kB / 0.7244 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.7316, allocations: 135.1 kB / 0.7246 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.7335, allocations: 382.1 kB / 0.7249 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.7361, allocations: 0.6311 MB / 0.7255 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.738, allocations: 1.033 MB / 0.7265 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.7391, allocations: 0.5347 MB / 0.7271 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009165/0.74, allocations: 306.4 kB / 0.7274 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.7406, allocations: 330.5 kB / 0.7277 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.7407, allocations: 22.12 kB / 0.7277 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.742, allocations: 353.5 kB / 0.728 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.7422, allocations: 166.1 kB / 0.7282 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.7425, allocations: 188.8 kB / 0.7284 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.7444, allocations: 1.13 MB / 0.7295 GB, free: 5.473 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.7444, allocations: 0 / 0.7295 GB, free: 5.473 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.747e-06/0.7444, allocations: 0 / 0.7295 GB, free: 5.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.7445, allocations: 5.438 kB / 0.7295 GB, free: 5.469 MB / 0.545 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.002607/0.7471, allocations: 1.184 MB / 0.7306 GB, free: 4.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.7471, allocations: 9.812 kB / 0.7306 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.7484, allocations: 220.5 kB / 0.7309 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.7497, allocations: 0.6919 MB / 0.7315 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.7498, allocations: 65.78 kB / 0.7316 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.75, allocations: 88.33 kB / 0.7317 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.7521, allocations: 0.9531 MB / 0.7326 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.7521, allocations: 0 / 0.7326 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-05/0.7522, allocations: 37.16 kB / 0.7326 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.7523, allocations: 23.5 kB / 0.7327 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.7542, allocations: 1.138 MB / 0.7338 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004797/0.759, allocations: 2.583 MB / 0.7363 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.7607, allocations: 0.8267 MB / 0.7371 GB, free: 1.352 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.7613, allocations: 287.2 kB / 0.7374 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.762, allocations: 473.6 kB / 0.7378 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009537/0.763, allocations: 438.2 kB / 0.7383 GB, free: 432 kB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 3.257e-06/0.763, allocations: 0 / 0.7383 GB, free: 432 kB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.003138/0.7661, allocations: 1.11 MB / 0.7393 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.7663, allocations: 189.4 kB / 0.7395 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.7672, allocations: 0.5981 MB / 0.7401 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.862e-05/0.7673, allocations: 41.05 kB / 0.7401 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/0.7677, allocations: 398 kB / 0.7405 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.768, allocations: 243.9 kB / 0.7408 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.768, allocations: 14.75 kB / 0.7408 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.7683, allocations: 383.1 kB / 0.7411 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.7688, allocations: 249 kB / 0.7414 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006103/0.7694, allocations: 332.6 kB / 0.7417 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.77, allocations: 289.5 kB / 0.742 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.77, allocations: 0 / 0.742 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001761/0.7718, allocations: 0.8029 MB / 0.7427 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.7718, allocations: 5.531 kB / 0.7428 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.7719, allocations: 0 / 0.7428 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/0.7724, allocations: 86.56 kB / 0.7428 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.7731, allocations: 155.8 kB / 0.743 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.7754, allocations: 1.509 MB / 0.7445 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.7762, allocations: 92.23 kB / 0.7445 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.7763, allocations: 40.03 kB / 0.7446 GB, free: 11.38 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0005835/0.7769, allocations: 257.6 kB / 0.7448 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.777, allocations: 75.06 kB / 0.7449 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/0.7796, allocations: 1.017 MB / 0.7459 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.7796, allocations: 11.95 kB / 0.7459 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.7796, allocations: 0 / 0.7459 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.7796, allocations: 3.984 kB / 0.7459 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.7829, allocations: 1.9 MB / 0.7478 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7829, allocations: 96 / 0.7478 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.7835, allocations: 147.7 kB / 0.7479 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.7839, allocations: 84.77 kB / 0.748 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.784, allocations: 23.98 kB / 0.748 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.7858, allocations: 1.548 MB / 0.7495 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7858, allocations: 0 / 0.7495 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.7875, allocations: 0.9219 MB / 0.7504 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.7879, allocations: 275.7 kB / 0.7507 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.7881, allocations: 20 kB / 0.7507 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.7886, allocations: 71.89 kB / 0.7508 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.7887, allocations: 56.92 kB / 0.7508 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.7888, allocations: 36.11 kB / 0.7509 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006557/0.7895, allocations: 431 kB / 0.7513 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.693e-06/0.7895, allocations: 0 / 0.7513 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001101/0.7906, allocations: 315.1 kB / 0.7516 GB, free: 3.965 MB / 0.5606 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 (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.001499/0.7921, allocations: 0.6102 MB / 0.7522 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00165/0.7938, allocations: 0.7718 MB / 0.7529 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7938, allocations: 192 / 0.7529 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.7947, allocations: 0.4929 MB / 0.7534 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.7959, allocations: 252.3 kB / 0.7536 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.8001, allocations: 2.139 MB / 0.7557 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.8009, allocations: 1.021 MB / 0.7567 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001004/0.8019, allocations: 258 kB / 0.757 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.8021, allocations: 103.4 kB / 0.7571 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.8021, allocations: 0 / 0.7571 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.02647/0.8286, allocations: 13.18 MB / 0.7699 GB, free: 1.441 MB / 0.5762 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)