Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.354/2.354, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 193.3 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 99.73 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 55.05 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2979, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005335/0.3033, allocations: 4.19 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1502/0.4535, allocations: 148.2 MB / 1.367 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009467/0.4545, allocations: 15.94 kB / 1.367 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.4552, allocations: 127 kB / 1.367 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.4567, allocations: 405.6 kB / 1.367 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.4589, allocations: 0.7076 MB / 1.368 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001359/0.4602, allocations: 1.129 MB / 1.369 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009418/0.4612, allocations: 0.6776 MB / 1.37 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.4618, allocations: 402.3 kB / 1.37 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/0.4623, allocations: 453.8 kB / 1.371 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.4625, allocations: 60 kB / 1.371 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.4635, allocations: 427.6 kB / 1.371 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.4638, allocations: 235.1 kB / 1.371 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.4643, allocations: 493.1 kB / 1.372 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.4662, allocations: 1.495 MB / 1.373 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4662, allocations: 0 / 1.373 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4662, allocations: 3.938 kB / 1.373 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.4662, allocations: 0 / 1.373 GB, free: 5.613 MB / 0.8698 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.002684/0.4689, allocations: 1.389 MB / 1.375 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.469, allocations: 11.98 kB / 1.375 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.4701, allocations: 211.3 kB / 1.375 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.4712, allocations: 0.7227 MB / 1.376 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.4712, allocations: 74 kB / 1.376 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4713, allocations: 87.98 kB / 1.376 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.473, allocations: 0.9496 MB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4731, allocations: 0 / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/0.4732, allocations: 36 kB / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.4732, allocations: 24 kB / 1.377 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.475, allocations: 1.128 MB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/0.4792, allocations: 2.562 MB / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.4806, allocations: 0.8212 MB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.4811, allocations: 286.6 kB / 1.381 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.4818, allocations: 478.2 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008428/0.4826, allocations: 431.3 kB / 1.382 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.4826, allocations: 0 / 1.382 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002876/0.4855, allocations: 1.1 MB / 1.383 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.4856, allocations: 192.6 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.4864, allocations: 0.6018 MB / 1.384 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.4865, allocations: 41.7 kB / 1.384 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.4868, allocations: 396.2 kB / 1.385 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.487, allocations: 240.5 kB / 1.385 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.4872, allocations: 158.4 kB / 1.385 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4874, allocations: 390.7 kB / 1.385 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.4879, allocations: 237.9 kB / 1.386 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.4885, allocations: 335.1 kB / 1.386 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.4896, allocations: 0.5721 MB / 1.386 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.4896, allocations: 4 kB / 1.386 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001947/0.4915, allocations: 0.7903 MB / 1.387 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.4916, allocations: 11.98 kB / 1.387 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4916, allocations: 0 / 1.387 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.4922, allocations: 80.88 kB / 1.387 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.4928, allocations: 151.7 kB / 1.387 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.495, allocations: 1.523 MB / 1.389 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/0.4957, allocations: 79.27 kB / 1.389 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.4957, allocations: 39.97 kB / 1.389 GB, free: 4.906 MB / 0.8855 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.0004242/0.4962, allocations: 255.6 kB / 1.389 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4963, allocations: 83.06 kB / 1.389 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.4986, allocations: 1.002 MB / 1.39 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4986, allocations: 8 kB / 1.39 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4986, allocations: 4 kB / 1.39 GB, free: 3.531 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.4987, allocations: 3.984 kB / 1.39 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/0.5021, allocations: 1.896 MB / 1.392 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.5021, allocations: 3.938 kB / 1.392 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.5027, allocations: 143.8 kB / 1.392 GB, free: 1.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/0.5032, allocations: 80.77 kB / 1.392 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.5033, allocations: 23.98 kB / 1.392 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.5051, allocations: 1.544 MB / 1.394 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5051, allocations: 0 / 1.394 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002755/0.5079, allocations: 1.939 MB / 1.396 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.5082, allocations: 255.8 kB / 1.396 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.5083, allocations: 20 kB / 1.396 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.5089, allocations: 55 kB / 1.396 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.509, allocations: 56.92 kB / 1.396 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.5091, allocations: 35.97 kB / 1.396 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004921/0.5096, allocations: 435 kB / 1.397 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5096, allocations: 0 / 1.397 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009517/0.5106, allocations: 331.1 kB / 1.397 GB, free: 12.46 MB / 0.9011 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.001369/0.5119, allocations: 0.6096 MB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001541/0.5135, allocations: 0.7728 MB / 1.398 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5135, allocations: 0 / 1.398 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008822/0.5144, allocations: 492.3 kB / 1.399 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.5155, allocations: 267.9 kB / 1.399 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.5198, allocations: 2.583 MB / 1.402 GB, free: 7.875 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.5204, allocations: 1.036 MB / 1.403 GB, free: 6.812 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008382/0.5213, allocations: 270 kB / 1.403 GB, free: 6.547 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.5215, allocations: 95.39 kB / 1.403 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.5215, allocations: 0 / 1.403 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of Templates: time 0.02458/0.5461, allocations: 14.02 MB / 1.417 GB, free: 8.59 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)