Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001417/0.001417, allocations: 111.8 kB / 16.42 MB, free: 6.473 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.001231/0.001231, allocations: 186.7 kB / 17.35 MB, free: 5.715 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 291.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9776/0.9776, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 95.84 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4104, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005957/0.4164, allocations: 4.428 MB / 0.7714 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.5744, allocations: 150.6 MB / 0.9185 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.5758, allocations: 15.88 kB / 0.9185 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.5765, allocations: 174.4 kB / 0.9186 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.5788, allocations: 0.5084 MB / 0.9191 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.5811, allocations: 0.857 MB / 0.92 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001586/0.5827, allocations: 1.336 MB / 0.9213 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009529/0.5836, allocations: 0.6986 MB / 0.922 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006636/0.5843, allocations: 0.4983 MB / 0.9224 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.5848, allocations: 0.5327 MB / 0.923 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.585, allocations: 128 kB / 0.9231 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009133/0.5859, allocations: 0.4996 MB / 0.9236 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.5862, allocations: 319 kB / 0.9239 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004402/0.5867, allocations: 0.579 MB / 0.9244 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.5884, allocations: 1.72 MB / 0.9261 GB, free: 412 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5884, allocations: 0 / 0.9261 GB, free: 412 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5884, allocations: 0 / 0.9261 GB, free: 412 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.5884, allocations: 0 / 0.9261 GB, free: 412 kB / 0.6856 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.002508/0.591, allocations: 1.479 MB / 0.9276 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.591, allocations: 12.03 kB / 0.9276 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.5922, allocations: 215.2 kB / 0.9278 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.5934, allocations: 0.785 MB / 0.9286 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.5935, allocations: 70 kB / 0.9286 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5936, allocations: 95.98 kB / 0.9287 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.5953, allocations: 1.016 MB / 0.9297 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.5954, allocations: 4 kB / 0.9297 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.5955, allocations: 40 kB / 0.9297 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.5955, allocations: 24 kB / 0.9298 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.5974, allocations: 1.175 MB / 0.9309 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.6015, allocations: 2.667 MB / 0.9335 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.6032, allocations: 0.9181 MB / 0.9344 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.6038, allocations: 314.6 kB / 0.9347 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006717/0.6045, allocations: 474.1 kB / 0.9352 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009029/0.6054, allocations: 499.2 kB / 0.9356 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.6054, allocations: 4 kB / 0.9356 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003255/0.6087, allocations: 1.225 MB / 0.9368 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.6088, allocations: 196.6 kB / 0.937 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008735/0.6097, allocations: 0.641 MB / 0.9377 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.265e-05/0.6098, allocations: 41.7 kB / 0.9377 GB, free: 4.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.6101, allocations: 428.2 kB / 0.9381 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.6104, allocations: 268.1 kB / 0.9384 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.6106, allocations: 170.4 kB / 0.9385 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6108, allocations: 382.8 kB / 0.9389 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.6114, allocations: 277.8 kB / 0.9392 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/0.612, allocations: 371.1 kB / 0.9395 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.6132, allocations: 0.6228 MB / 0.9401 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.6132, allocations: 7.938 kB / 0.9401 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002079/0.6153, allocations: 0.8722 MB / 0.941 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6154, allocations: 8.031 kB / 0.941 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6154, allocations: 0 / 0.941 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.616, allocations: 88.81 kB / 0.9411 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.6167, allocations: 171.7 kB / 0.9412 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.6189, allocations: 1.619 MB / 0.9428 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008296/0.6198, allocations: 99.25 kB / 0.9429 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.209e-05/0.6198, allocations: 39.95 kB / 0.9429 GB, free: 14.54 MB / 0.7169 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.0004741/0.6203, allocations: 273.9 kB / 0.9432 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.6205, allocations: 82.97 kB / 0.9433 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.623, allocations: 1.097 MB / 0.9444 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.623, allocations: 3.984 kB / 0.9444 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.623, allocations: 0 / 0.9444 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.6234, allocations: 279.7 kB / 0.9446 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.6235, allocations: 20 kB / 0.9446 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/0.6242, allocations: 67.92 kB / 0.9447 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.6244, allocations: 68.91 kB / 0.9448 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002161/0.6265, allocations: 0.9825 MB / 0.9457 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002412/0.629, allocations: 1.438 MB / 0.9471 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006244/0.6296, allocations: 379.8 kB / 0.9475 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005908/0.6302, allocations: 463 kB / 0.9479 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of Backend: time 8.21e-07/0.6302, allocations: 0 / 0.9479 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003415/0.6336, allocations: 1.289 MB / 0.9492 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003238/0.6369, allocations: 2.115 MB / 0.9513 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.3706/1.008, allocations: 16.65 MB / 0.9675 GB, free: 185.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)