Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 114.3 kB / 16.42 MB, free: 6.441 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.00117/0.00117, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 291 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9546/0.9546, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 91.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4022, allocations: 86.96 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006/0.4082, allocations: 4.513 MB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.5594, allocations: 150.7 MB / 0.9186 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.5601, allocations: 19.88 kB / 0.9186 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.5607, allocations: 182.3 kB / 0.9188 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.5625, allocations: 0.5277 MB / 0.9193 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.5645, allocations: 0.8727 MB / 0.9201 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.566, allocations: 1.394 MB / 0.9215 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.5671, allocations: 0.6333 MB / 0.9221 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007076/0.5678, allocations: 0.5061 MB / 0.9226 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.5684, allocations: 0.5289 MB / 0.9231 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.5687, allocations: 124 kB / 0.9233 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009439/0.5696, allocations: 0.5113 MB / 0.9238 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.57, allocations: 307 kB / 0.924 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.5706, allocations: 0.5751 MB / 0.9246 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.5724, allocations: 1.7 MB / 0.9263 GB, free: 264 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5725, allocations: 0 / 0.9263 GB, free: 264 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5725, allocations: 0 / 0.9263 GB, free: 264 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.475e-05/0.5725, allocations: 0 / 0.9263 GB, free: 264 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00301/0.5755, allocations: 1.494 MB / 0.9277 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.5756, allocations: 8.031 kB / 0.9277 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000995/0.5766, allocations: 191.3 kB / 0.9279 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.5778, allocations: 0.7781 MB / 0.9287 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.5779, allocations: 74 kB / 0.9287 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.578, allocations: 84 kB / 0.9288 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.5798, allocations: 0.9807 MB / 0.9298 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5799, allocations: 0 / 0.9298 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-05/0.58, allocations: 36 kB / 0.9298 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.58, allocations: 24 kB / 0.9298 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.5819, allocations: 1.155 MB / 0.931 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.5861, allocations: 2.675 MB / 0.9336 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.5883, allocations: 0.9881 MB / 0.9345 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006646/0.589, allocations: 326.1 kB / 0.9349 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.5891, allocations: 32.67 kB / 0.9349 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.5903, allocations: 0.5374 MB / 0.9354 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 3.075e-06/0.5903, allocations: 4 kB / 0.9354 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003297/0.5936, allocations: 1.294 MB / 0.9367 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.5937, allocations: 192.9 kB / 0.9369 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008457/0.5945, allocations: 0.6489 MB / 0.9375 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.5946, allocations: 49.69 kB / 0.9375 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.5949, allocations: 400.4 kB / 0.9379 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.5952, allocations: 280 kB / 0.9382 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.5954, allocations: 182.5 kB / 0.9384 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5956, allocations: 394.8 kB / 0.9387 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.5962, allocations: 293.8 kB / 0.939 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.5969, allocations: 387.1 kB / 0.9394 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5981, allocations: 0.6554 MB / 0.94 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.5981, allocations: 0 / 0.94 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002209/0.6004, allocations: 0.9189 MB / 0.9409 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.6004, allocations: 4 kB / 0.9409 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6004, allocations: 0 / 0.9409 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.601, allocations: 84.83 kB / 0.941 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.6018, allocations: 171.8 kB / 0.9412 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.604, allocations: 1.638 MB / 0.9428 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/0.6048, allocations: 115.2 kB / 0.9429 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.6049, allocations: 35.97 kB / 0.9429 GB, free: 14.66 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.000451/0.6054, allocations: 274.9 kB / 0.9432 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.6056, allocations: 86.97 kB / 0.9433 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.6083, allocations: 1.195 MB / 0.9444 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.6083, allocations: 7.984 kB / 0.9444 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6083, allocations: 0 / 0.9444 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.6088, allocations: 287.6 kB / 0.9447 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.6089, allocations: 24 kB / 0.9447 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/0.6096, allocations: 67.92 kB / 0.9448 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.6098, allocations: 88.81 kB / 0.9449 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00233/0.6122, allocations: 1.049 MB / 0.9459 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002575/0.6147, allocations: 1.531 MB / 0.9474 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006653/0.6154, allocations: 407.8 kB / 0.9478 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005869/0.616, allocations: 467 kB / 0.9482 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of Backend: time 4.2e-07/0.616, allocations: 0 / 0.9482 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00341/0.6194, allocations: 1.328 MB / 0.9495 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003027/0.6225, allocations: 2.1 MB / 0.9516 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.3395/0.962, allocations: 17.28 MB / 0.9685 GB, free: 185.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)