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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001077/0.001078, allocations: 195.9 kB / 17.3 MB, free: 5.516 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7908/0.7908, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.84 kB / 0.5032 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 80.18 MB / 0.5815 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005442/0.3815, allocations: 4.19 MB / 0.5856 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1542/0.5357, allocations: 150.5 MB / 0.7326 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007152/0.5364, allocations: 15.94 kB / 0.7326 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.5369, allocations: 186.4 kB / 0.7328 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.5384, allocations: 476.9 kB / 0.7332 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.5401, allocations: 0.8203 MB / 0.734 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.5412, allocations: 1.199 MB / 0.7352 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007979/0.542, allocations: 0.6883 MB / 0.7359 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.5424, allocations: 470.3 kB / 0.7363 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.5429, allocations: 485.8 kB / 0.7368 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.543, allocations: 112 kB / 0.7369 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007527/0.5438, allocations: 499.6 kB / 0.7374 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.544, allocations: 291 kB / 0.7376 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.5444, allocations: 0.5284 MB / 0.7382 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.5458, allocations: 1.581 MB / 0.7397 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5458, allocations: 4 kB / 0.7397 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5458, allocations: 0 / 0.7397 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5458, allocations: 0 / 0.7397 GB, free: 11.82 MB / 0.5762 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.001946/0.5478, allocations: 1.396 MB / 0.7411 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5478, allocations: 8.031 kB / 0.7411 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009969/0.5488, allocations: 211.4 kB / 0.7413 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.5499, allocations: 0.7422 MB / 0.742 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.5499, allocations: 66 kB / 0.7421 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.55, allocations: 88 kB / 0.7422 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.5514, allocations: 0.9535 MB / 0.7431 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.5515, allocations: 0 / 0.7431 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.5515, allocations: 36 kB / 0.7431 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.5516, allocations: 24 kB / 0.7431 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.5532, allocations: 1.128 MB / 0.7442 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.5567, allocations: 2.522 MB / 0.7467 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.5581, allocations: 0.8269 MB / 0.7475 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.5586, allocations: 290.8 kB / 0.7478 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.5592, allocations: 478 kB / 0.7482 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007427/0.5599, allocations: 435.2 kB / 0.7487 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.284e-06/0.56, allocations: 4 kB / 0.7487 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.00277/0.5627, allocations: 1.1 MB / 0.7497 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.5628, allocations: 188.6 kB / 0.7499 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.5635, allocations: 0.6018 MB / 0.7505 GB, free: 348 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.5635, allocations: 37.7 kB / 0.7505 GB, free: 304 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.3053/0.8689, allocations: 397.7 kB / 0.7509 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/0.8693, allocations: 241.8 kB / 0.7512 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.8696, allocations: 150.9 kB / 0.7513 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.8698, allocations: 383.2 kB / 0.7517 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.8705, allocations: 243.5 kB / 0.7519 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.8712, allocations: 338.7 kB / 0.7522 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8724, allocations: 0.5652 MB / 0.7528 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.8724, allocations: 0 / 0.7528 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00205/0.8744, allocations: 0.7956 MB / 0.7535 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.8745, allocations: 7 kB / 0.7536 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.8745, allocations: 0.6875 kB / 0.7536 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.8751, allocations: 85.72 kB / 0.7536 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.8758, allocations: 150.5 kB / 0.7538 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.8778, allocations: 1.631 MB / 0.7554 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006634/0.8785, allocations: 78.12 kB / 0.7554 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.8786, allocations: 38.83 kB / 0.7555 GB, free: 165 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.0004591/0.8791, allocations: 264.8 kB / 0.7557 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.8792, allocations: 76.19 kB / 0.7558 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.8818, allocations: 1 MB / 0.7568 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.8818, allocations: 8.438 kB / 0.7568 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.8818, allocations: 0.9375 kB / 0.7568 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.8819, allocations: 6.797 kB / 0.7568 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.8855, allocations: 1.898 MB / 0.7587 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.8856, allocations: 0.5 kB / 0.7587 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.8862, allocations: 140.6 kB / 0.7588 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.8867, allocations: 71.53 kB / 0.7589 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.8868, allocations: 27.38 kB / 0.7589 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.8885, allocations: 1.648 MB / 0.7605 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8885, allocations: 2.344 kB / 0.7605 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.8905, allocations: 0.9252 MB / 0.7614 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.8908, allocations: 258.2 kB / 0.7616 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.8909, allocations: 17.22 kB / 0.7617 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.8915, allocations: 58.47 kB / 0.7617 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.8916, allocations: 58.11 kB / 0.7618 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.8917, allocations: 33.16 kB / 0.7618 GB, free: 161 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005095/0.8922, allocations: 443.2 kB / 0.7622 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.312e-06/0.8922, allocations: 0 / 0.7622 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009498/0.8932, allocations: 317.1 kB / 0.7625 GB, free: 160.7 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.001329/0.8945, allocations: 0.6203 MB / 0.7631 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.8961, allocations: 0.7759 MB / 0.7639 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8962, allocations: 1 kB / 0.7639 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008157/0.897, allocations: 493.2 kB / 0.7644 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.898, allocations: 291.8 kB / 0.7646 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.9022, allocations: 1.706 MB / 0.7663 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.9029, allocations: 1.029 MB / 0.7673 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008659/0.9038, allocations: 257.2 kB / 0.7676 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.904, allocations: 96.89 kB / 0.7676 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.904, allocations: 0 / 0.7676 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02015/0.9242, allocations: 14.18 MB / 0.7815 GB, free: 144.3 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)