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.006738/0.006738, allocations: 106 kB / 15.74 MB, free: 5.578 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.001632/0.001632, allocations: 189.9 kB / 16.67 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8122/0.8122, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.53 kB / 0.5813 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 80.21 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006265/0.1854, allocations: 4.181 MB / 0.6637 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6739/0.8593, allocations: 150.5 MB / 0.8108 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.8604, allocations: 22.97 kB / 0.8108 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006076/0.861, allocations: 169.9 kB / 0.8109 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.8627, allocations: 480.4 kB / 0.8114 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.8645, allocations: 0.8242 MB / 0.8122 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.8658, allocations: 1.208 MB / 0.8134 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009049/0.8667, allocations: 0.6728 MB / 0.814 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.8673, allocations: 476.2 kB / 0.8145 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005078/0.8679, allocations: 482.2 kB / 0.815 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.868, allocations: 112.1 kB / 0.8151 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009731/0.869, allocations: 0.4973 MB / 0.8155 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.8693, allocations: 293.6 kB / 0.8158 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.8698, allocations: 0.5242 MB / 0.8163 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.8721, allocations: 1.584 MB / 0.8179 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8721, allocations: 0 / 0.8179 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8721, allocations: 0 / 0.8179 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.8722, allocations: 4 kB / 0.8179 GB, free: 9.898 MB / 0.5919 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.002812/0.875, allocations: 1.398 MB / 0.8193 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.875, allocations: 7.688 kB / 0.8193 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.8761, allocations: 205.8 kB / 0.8195 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.8774, allocations: 0.747 MB / 0.8202 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.8774, allocations: 66.69 kB / 0.8203 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.8775, allocations: 86.19 kB / 0.8203 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.8794, allocations: 0.9558 MB / 0.8213 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.8794, allocations: 0 / 0.8213 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.8795, allocations: 40.09 kB / 0.8213 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.8795, allocations: 24.06 kB / 0.8213 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.8813, allocations: 1.128 MB / 0.8224 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.8857, allocations: 2.516 MB / 0.8249 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.8872, allocations: 0.8232 MB / 0.8257 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.8877, allocations: 285.8 kB / 0.826 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/0.8884, allocations: 469.1 kB / 0.8264 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/0.8892, allocations: 444.9 kB / 0.8268 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 6.192e-06/0.8892, allocations: 4 kB / 0.8268 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.002991/0.8922, allocations: 1.099 MB / 0.8279 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.8923, allocations: 188.4 kB / 0.8281 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/0.8932, allocations: 0.5966 MB / 0.8287 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.8933, allocations: 42.2 kB / 0.8287 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.8936, allocations: 403 kB / 0.8291 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.8939, allocations: 241.5 kB / 0.8293 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.8943, allocations: 151.9 kB / 0.8295 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002468/0.8945, allocations: 384.6 kB / 0.8298 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004985/0.895, allocations: 249.9 kB / 0.8301 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/0.8956, allocations: 329.6 kB / 0.8304 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.8967, allocations: 0.5694 MB / 0.8309 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8967, allocations: 1.812 kB / 0.831 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001822/0.8986, allocations: 0.7976 MB / 0.8317 GB, free: 408 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8986, allocations: 4.562 kB / 0.8317 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.8986, allocations: 0 / 0.8317 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.8993, allocations: 90.14 kB / 0.8318 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.8999, allocations: 146.5 kB / 0.832 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.9023, allocations: 1.635 MB / 0.8336 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006343/0.9029, allocations: 83.48 kB / 0.8336 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.903, allocations: 34.62 kB / 0.8337 GB, free: 14.65 MB / 0.6075 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.0004096/0.9034, allocations: 272.5 kB / 0.8339 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.9036, allocations: 81.02 kB / 0.834 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.9059, allocations: 0.9847 MB / 0.835 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.9059, allocations: 10.12 kB / 0.835 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.9059, allocations: 7.938 kB / 0.835 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.9059, allocations: 7.922 kB / 0.835 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.9091, allocations: 1.897 MB / 0.8368 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.9091, allocations: 0 / 0.8368 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.9096, allocations: 151.2 kB / 0.837 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004282/0.9101, allocations: 70.36 kB / 0.8371 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.9102, allocations: 19.64 kB / 0.8371 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.9123, allocations: 1.657 MB / 0.8387 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9123, allocations: 0 / 0.8387 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.9143, allocations: 0.9265 MB / 0.8396 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.9148, allocations: 252.7 kB / 0.8398 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.9149, allocations: 25.97 kB / 0.8399 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/0.9154, allocations: 58.09 kB / 0.8399 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.9156, allocations: 59.34 kB / 0.84 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.9156, allocations: 31.89 kB / 0.84 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005278/0.9162, allocations: 434.7 kB / 0.8404 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9162, allocations: 0 / 0.8404 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009258/0.9171, allocations: 323.8 kB / 0.8407 GB, free: 9.668 MB / 0.6075 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.001381/0.9185, allocations: 0.6085 MB / 0.8413 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.9202, allocations: 0.7749 MB / 0.8421 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9202, allocations: 2.156 kB / 0.8421 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.9211, allocations: 493.5 kB / 0.8426 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.9222, allocations: 290.4 kB / 0.8428 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.9261, allocations: 1.715 MB / 0.8445 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007879/0.9269, allocations: 1.019 MB / 0.8455 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007856/0.9277, allocations: 258.1 kB / 0.8457 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.928, allocations: 99.39 kB / 0.8458 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.928, allocations: 0 / 0.8458 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.02634/0.9544, allocations: 14.32 MB / 0.8598 GB, free: 7.598 MB / 0.6231 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)