Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004893/0.004893, allocations: 99.34 kB / 15.73 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.001082/0.001082, allocations: 195 kB / 16.67 MB, free: 5.977 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.318/1.318, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 280.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 99.83 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.45, allocations: 86.97 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005884/0.4559, allocations: 4.427 MB / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.6233, allocations: 150.6 MB / 0.9177 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006675/0.624, allocations: 19.88 kB / 0.9178 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005216/0.6246, allocations: 174.4 kB / 0.9179 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.626, allocations: 0.5 MB / 0.9184 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.6279, allocations: 0.8435 MB / 0.9192 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001626/0.6295, allocations: 1.336 MB / 0.9206 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.6305, allocations: 0.7078 MB / 0.9212 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006011/0.6311, allocations: 0.5021 MB / 0.9217 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.6317, allocations: 0.5367 MB / 0.9223 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.6318, allocations: 128 kB / 0.9224 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.6326, allocations: 495.6 kB / 0.9229 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.633, allocations: 319 kB / 0.9232 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006691/0.6337, allocations: 0.5829 MB / 0.9237 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.6356, allocations: 1.726 MB / 0.9254 GB, free: 432 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6356, allocations: 4 kB / 0.9254 GB, free: 428 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6356, allocations: 0 / 0.9254 GB, free: 428 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.6357, allocations: 0 / 0.9254 GB, free: 428 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002637/0.6383, allocations: 1.525 MB / 0.9269 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.6383, allocations: 8.031 kB / 0.9269 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.64, allocations: 315.8 kB / 0.9272 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6411, allocations: 0.7934 MB / 0.928 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.6412, allocations: 70 kB / 0.9281 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.6413, allocations: 92 kB / 0.9281 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.6433, allocations: 1.07 MB / 0.9292 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6434, allocations: 0 / 0.9292 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.6435, allocations: 43.98 kB / 0.9292 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.6435, allocations: 24 kB / 0.9293 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.6459, allocations: 1.272 MB / 0.9305 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/0.6506, allocations: 2.701 MB / 0.9331 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.6534, allocations: 1.012 MB / 0.9341 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.6542, allocations: 362.6 kB / 0.9345 GB, free: 6.918 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.6543, allocations: 40.58 kB / 0.9345 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/0.6555, allocations: 0.5684 MB / 0.9351 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.404e-06/0.6555, allocations: 0 / 0.9351 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004008/0.6595, allocations: 1.38 MB / 0.9364 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6597, allocations: 188.9 kB / 0.9366 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000826/0.6605, allocations: 0.641 MB / 0.9372 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.6606, allocations: 45.7 kB / 0.9373 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.6609, allocations: 433.1 kB / 0.9377 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.6612, allocations: 285.5 kB / 0.9379 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.6615, allocations: 170.6 kB / 0.9381 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000311/0.6618, allocations: 390.8 kB / 0.9385 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/0.6626, allocations: 317.8 kB / 0.9388 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000908/0.6635, allocations: 423 kB / 0.9392 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.6652, allocations: 0.7062 MB / 0.9399 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6652, allocations: 0 / 0.9399 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002571/0.6678, allocations: 0.9778 MB / 0.9408 GB, free: 256 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6678, allocations: 4 kB / 0.9408 GB, free: 252 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6678, allocations: 4 kB / 0.9408 GB, free: 248 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.6684, allocations: 84.86 kB / 0.9409 GB, free: 160 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.6693, allocations: 187.8 kB / 0.9411 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.6716, allocations: 1.634 MB / 0.9427 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/0.6724, allocations: 107.5 kB / 0.9428 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.6725, allocations: 39.97 kB / 0.9428 GB, free: 14.05 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 (98): * Single equations (assignments): 97 * 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.0004312/0.673, allocations: 282.8 kB / 0.9431 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.6731, allocations: 87.44 kB / 0.9432 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/0.6761, allocations: 1.206 MB / 0.9444 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.6761, allocations: 8 kB / 0.9444 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6762, allocations: 4 kB / 0.9444 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.6762, allocations: 3.984 kB / 0.9444 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.6802, allocations: 2.146 MB / 0.9465 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.6802, allocations: 3.984 kB / 0.9465 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007371/0.681, allocations: 167.8 kB / 0.9466 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.6815, allocations: 76.72 kB / 0.9467 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.6816, allocations: 27.97 kB / 0.9467 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.6836, allocations: 1.658 MB / 0.9484 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6836, allocations: 4.062 kB / 0.9484 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.6864, allocations: 1.119 MB / 0.9495 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.6868, allocations: 288.1 kB / 0.9497 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.6869, allocations: 27.98 kB / 0.9498 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/0.6877, allocations: 82.73 kB / 0.9498 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.688, allocations: 76.83 kB / 0.9499 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.688, allocations: 43.97 kB / 0.9499 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006652/0.6887, allocations: 463 kB / 0.9504 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.533e-06/0.6887, allocations: 0 / 0.9504 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008577/0.6896, allocations: 339 kB / 0.9507 GB, free: 5.711 MB / 0.7169 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 (97): * Single equations (assignments): 91 * 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.00138/0.691, allocations: 0.6117 MB / 0.9513 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.6933, allocations: 0.9485 MB / 0.9522 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6933, allocations: 0 / 0.9522 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.6947, allocations: 0.5822 MB / 0.9528 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.6959, allocations: 297.5 kB / 0.9531 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.7003, allocations: 1.917 MB / 0.955 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.701, allocations: 1.043 MB / 0.956 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000853/0.7019, allocations: 278.8 kB / 0.9562 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.7023, allocations: 111.4 kB / 0.9564 GB, free: 52 kB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.7023, allocations: 4 kB / 0.9564 GB, free: 48 kB / 0.7169 GB Notification: Performance of Templates: time 0.3287/1.031, allocations: 15.64 MB / 0.9716 GB, free: 180.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)