Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001193/0.001193, 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.001322/0.001322, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.28 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3873, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007022/0.3944, allocations: 5.154 MB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1836/0.5781, allocations: 148.4 MB / 1.217 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.5796, allocations: 15.94 kB / 1.217 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007613/0.5805, allocations: 162.8 kB / 1.218 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.583, allocations: 485.1 kB / 1.218 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.5856, allocations: 0.7498 MB / 1.219 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.5874, allocations: 1.354 MB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.5885, allocations: 0.6431 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009416/0.5894, allocations: 462.1 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.5902, allocations: 0.5149 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.5904, allocations: 64 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.5916, allocations: 431.7 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.5919, allocations: 258.9 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006454/0.5926, allocations: 0.5478 MB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.5945, allocations: 1.651 MB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.5945, allocations: 8 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5946, allocations: 0 / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5946, allocations: 0 / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002706/0.5973, allocations: 1.508 MB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5973, allocations: 8.031 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.5985, allocations: 219.2 kB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.5997, allocations: 0.7538 MB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.5998, allocations: 77.94 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5999, allocations: 91.98 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.6017, allocations: 1.012 MB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.6018, allocations: 4 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/0.6019, allocations: 44 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6019, allocations: 20 kB / 1.228 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.6038, allocations: 1.175 MB / 1.229 GB, free: 4.449 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.6084, allocations: 2.961 MB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.6102, allocations: 0.9043 MB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006298/0.6108, allocations: 318.7 kB / 1.233 GB, free: 108 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007298/0.6115, allocations: 478.1 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.6127, allocations: 0.499 MB / 1.234 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.6127, allocations: 8 kB / 1.234 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003453/0.6161, allocations: 1.233 MB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.6163, allocations: 196.5 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.6172, allocations: 0.6411 MB / 1.236 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/0.6173, allocations: 41.7 kB / 1.236 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.6177, allocations: 424.2 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.618, allocations: 264.2 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.6183, allocations: 170.5 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002274/0.6185, allocations: 382.8 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.6191, allocations: 285.8 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006853/0.6198, allocations: 383 kB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.621, allocations: 0.6268 MB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.621, allocations: 0 / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002269/0.6233, allocations: 0.876 MB / 1.24 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.6233, allocations: 8 kB / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6233, allocations: 0 / 1.24 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/0.624, allocations: 84.86 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.6247, allocations: 163.8 kB / 1.24 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.6269, allocations: 1.53 MB / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008923/0.6278, allocations: 95.31 kB / 1.242 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.628, allocations: 44.03 kB / 1.242 GB, free: 7.348 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006075/0.6286, allocations: 271.9 kB / 1.242 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.6288, allocations: 86.97 kB / 1.242 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.6315, allocations: 1.101 MB / 1.243 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6315, allocations: 15.94 kB / 1.243 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6315, allocations: 3.984 kB / 1.243 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.6315, allocations: 3.984 kB / 1.243 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/0.6353, allocations: 2.001 MB / 1.245 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6353, allocations: 0 / 1.245 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.636, allocations: 151.8 kB / 1.245 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000534/0.6365, allocations: 80.78 kB / 1.245 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/0.6366, allocations: 27.97 kB / 1.245 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.6385, allocations: 1.548 MB / 1.247 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.6385, allocations: 3.938 kB / 1.247 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.6409, allocations: 1.016 MB / 1.248 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.6415, allocations: 279.7 kB / 1.248 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.6417, allocations: 24 kB / 1.248 GB, free: 488 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/0.6425, allocations: 63.92 kB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.6427, allocations: 68.89 kB / 1.248 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/0.6428, allocations: 44.17 kB / 1.248 GB, free: 312 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.7725/1.415, allocations: 465.3 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.61e-07/1.415, allocations: 0 / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001791/1.417, allocations: 354.1 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00166/1.419, allocations: 0.6322 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002184/1.421, allocations: 0.852 MB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.421, allocations: 8.438 kB / 1.25 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/1.422, allocations: 0.5227 MB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.424, allocations: 273.4 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/1.428, allocations: 2.183 MB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/1.428, allocations: 1.04 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001167/1.43, allocations: 275.5 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.43, allocations: 108.7 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.43, allocations: 0 / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03228/1.462, allocations: 15.13 MB / 1.27 GB, free: 179.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)