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.001624/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.003036/0.003036, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.063/1.063, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.62 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1777, allocations: 80.92 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005788/0.1835, allocations: 4.2 MB / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.455/0.6385, allocations: 148.2 MB / 0.7326 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.64, allocations: 15.44 kB / 0.7326 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.6412, allocations: 131 kB / 0.7327 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.6439, allocations: 404.3 kB / 0.7331 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.6461, allocations: 0.7037 MB / 0.7338 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.6482, allocations: 1.118 MB / 0.7349 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.6495, allocations: 0.6674 MB / 0.7355 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009521/0.6505, allocations: 410.9 kB / 0.7359 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.6515, allocations: 450.3 kB / 0.7363 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.6519, allocations: 59.53 kB / 0.7364 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.6535, allocations: 426.3 kB / 0.7368 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.6539, allocations: 239.6 kB / 0.737 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009629/0.6549, allocations: 486 kB / 0.7375 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.6572, allocations: 1.497 MB / 0.739 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.6573, allocations: 10.61 kB / 0.739 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6573, allocations: 0 / 0.739 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.725e-05/0.6574, allocations: 0 / 0.739 GB, free: 10.85 MB / 0.5606 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.003598/0.661, allocations: 1.381 MB / 0.7403 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.661, allocations: 9.312 kB / 0.7403 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.6623, allocations: 209.2 kB / 0.7405 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.6633, allocations: 0.7227 MB / 0.7412 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.6634, allocations: 65.75 kB / 0.7413 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.6635, allocations: 86.31 kB / 0.7414 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.6652, allocations: 0.9582 MB / 0.7423 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6653, allocations: 1.125 kB / 0.7423 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.6654, allocations: 37.59 kB / 0.7423 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.6654, allocations: 20.97 kB / 0.7424 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.6672, allocations: 1.132 MB / 0.7435 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.6713, allocations: 2.553 MB / 0.746 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.6728, allocations: 0.8195 MB / 0.7468 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.6733, allocations: 289.1 kB / 0.747 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.674, allocations: 472.5 kB / 0.7475 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008574/0.6749, allocations: 452.4 kB / 0.7479 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.964e-06/0.6749, allocations: 0 / 0.7479 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003036/0.678, allocations: 1.096 MB / 0.749 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.6781, allocations: 188.6 kB / 0.7492 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/0.6788, allocations: 0.6057 MB / 0.7498 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.6789, allocations: 37.7 kB / 0.7498 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.6793, allocations: 400.2 kB / 0.7502 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.6795, allocations: 248.4 kB / 0.7504 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.6798, allocations: 150.5 kB / 0.7506 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.68, allocations: 390.6 kB / 0.7509 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.6805, allocations: 241.9 kB / 0.7512 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006326/0.6812, allocations: 339.1 kB / 0.7515 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.6823, allocations: 0.5694 MB / 0.752 GB, free: 368 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6823, allocations: 0 / 0.752 GB, free: 368 kB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002077/0.6844, allocations: 0.7921 MB / 0.7528 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6844, allocations: 4 kB / 0.7528 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6845, allocations: 4 kB / 0.7528 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/0.6851, allocations: 80.88 kB / 0.7529 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.6858, allocations: 155.8 kB / 0.7531 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.688, allocations: 1.509 MB / 0.7545 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006973/0.6887, allocations: 84.12 kB / 0.7546 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.6888, allocations: 39.97 kB / 0.7546 GB, free: 13.55 MB / 0.5762 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.0004504/0.6892, allocations: 260.9 kB / 0.7549 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.6894, allocations: 90.97 kB / 0.755 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.6918, allocations: 0.9843 MB / 0.7559 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6918, allocations: 8 kB / 0.756 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.6918, allocations: 0 / 0.756 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.6918, allocations: 7.984 kB / 0.756 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.6952, allocations: 1.896 MB / 0.7578 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.6953, allocations: 4.062 kB / 0.7578 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.6959, allocations: 143.8 kB / 0.758 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.6964, allocations: 84.72 kB / 0.758 GB, free: 10 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.6965, allocations: 23.98 kB / 0.7581 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.6984, allocations: 1.549 MB / 0.7596 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6984, allocations: 0 / 0.7596 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.7006, allocations: 0.9219 MB / 0.7605 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/0.7011, allocations: 255.8 kB / 0.7607 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.7012, allocations: 16 kB / 0.7607 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/0.7019, allocations: 63.88 kB / 0.7608 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.7021, allocations: 60.86 kB / 0.7608 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.17e-05/0.7021, allocations: 31.97 kB / 0.7609 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007244/0.7029, allocations: 439 kB / 0.7613 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7029, allocations: 0 / 0.7613 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009725/0.7039, allocations: 315.2 kB / 0.7616 GB, free: 6.176 MB / 0.5762 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.001533/0.7054, allocations: 0.6028 MB / 0.7622 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.7072, allocations: 0.772 MB / 0.7629 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7073, allocations: 4 kB / 0.7629 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009181/0.7082, allocations: 496.8 kB / 0.7634 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.7094, allocations: 266.1 kB / 0.7637 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.7137, allocations: 2.144 MB / 0.7658 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.7146, allocations: 1.019 MB / 0.7668 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001065/0.7157, allocations: 254.2 kB / 0.767 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.716, allocations: 103.4 kB / 0.7671 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.716, allocations: 0 / 0.7671 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of Templates: time 0.02678/0.7428, allocations: 13.64 MB / 0.7804 GB, free: 3.203 MB / 0.5919 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)