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.006365/0.006365, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001308/0.001308, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8318/0.8318, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 67.36 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2019, allocations: 80.92 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007199/0.2091, allocations: 4.189 MB / 0.6687 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6771/0.8863, allocations: 150.5 MB / 0.8157 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009786/0.8873, allocations: 20.69 kB / 0.8158 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007965/0.8881, allocations: 168 kB / 0.8159 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.8907, allocations: 490.3 kB / 0.8164 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.8934, allocations: 0.813 MB / 0.8172 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.8952, allocations: 1.201 MB / 0.8183 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009059/0.8961, allocations: 0.6885 MB / 0.819 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.8968, allocations: 466.3 kB / 0.8195 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/0.8973, allocations: 480.8 kB / 0.8199 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.8974, allocations: 112 kB / 0.82 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009682/0.8984, allocations: 0.5039 MB / 0.8205 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.8987, allocations: 287.4 kB / 0.8208 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.8992, allocations: 0.5303 MB / 0.8213 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.9011, allocations: 1.589 MB / 0.8229 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9011, allocations: 2.688 kB / 0.8229 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9011, allocations: 0 / 0.8229 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.892e-05/0.9011, allocations: 0 / 0.8229 GB, free: 5.133 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.002255/0.9034, allocations: 1.384 MB / 0.8242 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.9034, allocations: 10.61 kB / 0.8242 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.9045, allocations: 211.8 kB / 0.8244 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.9056, allocations: 0.7428 MB / 0.8252 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.9057, allocations: 67.59 kB / 0.8252 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.9058, allocations: 86.12 kB / 0.8253 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.9075, allocations: 0.9506 MB / 0.8262 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.9075, allocations: 4 kB / 0.8262 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.9076, allocations: 38 kB / 0.8263 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.9077, allocations: 20.47 kB / 0.8263 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.9095, allocations: 1.128 MB / 0.8274 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.9132, allocations: 2.52 MB / 0.8299 GB, free: 168 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.9147, allocations: 0.83 MB / 0.8307 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.9152, allocations: 283.8 kB / 0.8309 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/0.9159, allocations: 472.8 kB / 0.8314 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007678/0.9166, allocations: 447.6 kB / 0.8318 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.454e-06/0.9167, allocations: 0 / 0.8318 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.00288/0.9195, allocations: 1.094 MB / 0.8329 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.9197, allocations: 187.9 kB / 0.8331 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.9204, allocations: 0.6073 MB / 0.8337 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.9204, allocations: 36.14 kB / 0.8337 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.9207, allocations: 406.6 kB / 0.8341 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.9209, allocations: 242.5 kB / 0.8343 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.9212, allocations: 149.2 kB / 0.8345 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9213, allocations: 384.6 kB / 0.8348 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.9218, allocations: 241.1 kB / 0.835 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.9224, allocations: 341.6 kB / 0.8354 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.9235, allocations: 0.5659 MB / 0.8359 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9235, allocations: 0 / 0.8359 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001824/0.9254, allocations: 0.7906 MB / 0.8367 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9254, allocations: 5.531 kB / 0.8367 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.9254, allocations: 2.219 kB / 0.8367 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/0.926, allocations: 80.12 kB / 0.8368 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.9266, allocations: 160.1 kB / 0.8369 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.9287, allocations: 1.633 MB / 0.8385 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.9293, allocations: 83.33 kB / 0.8386 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.9294, allocations: 36.41 kB / 0.8386 GB, free: 9.715 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.0004192/0.9298, allocations: 262.3 kB / 0.8389 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.93, allocations: 78.03 kB / 0.839 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.9322, allocations: 0.9987 MB / 0.8399 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.9322, allocations: 7.75 kB / 0.84 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.9322, allocations: 3.562 kB / 0.84 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.9322, allocations: 11.91 kB / 0.84 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.9355, allocations: 1.894 MB / 0.8418 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9355, allocations: 4 kB / 0.8418 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.9361, allocations: 141.9 kB / 0.842 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.9366, allocations: 70.66 kB / 0.842 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.9366, allocations: 27.45 kB / 0.842 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.9385, allocations: 1.657 MB / 0.8437 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9386, allocations: 0 / 0.8437 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.9405, allocations: 0.9215 MB / 0.8446 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.9409, allocations: 257.9 kB / 0.8448 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.941, allocations: 16.78 kB / 0.8448 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.9416, allocations: 53.44 kB / 0.8449 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.9418, allocations: 66.47 kB / 0.8449 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.9418, allocations: 32.41 kB / 0.845 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005567/0.9424, allocations: 439.4 kB / 0.8454 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9424, allocations: 0 / 0.8454 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009275/0.9433, allocations: 311 kB / 0.8457 GB, free: 4.73 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.001481/0.9448, allocations: 0.6132 MB / 0.8463 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001829/0.9467, allocations: 0.7736 MB / 0.847 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.9467, allocations: 4 kB / 0.847 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009662/0.9477, allocations: 0.4887 MB / 0.8475 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.949, allocations: 294.2 kB / 0.8478 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.9532, allocations: 1.7 MB / 0.8495 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.954, allocations: 1.023 MB / 0.8505 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008399/0.9548, allocations: 250.2 kB / 0.8507 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.9551, allocations: 103.4 kB / 0.8508 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of SimCode: time 5.52e-07/0.9551, allocations: 0 / 0.8508 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.02711/0.9822, allocations: 14.33 MB / 0.8648 GB, free: 1.52 MB / 0.6231 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)