Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 107.3 kB / 16.41 MB, free: 6 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.001555/0.001555, allocations: 191 kB / 17.35 MB, free: 5.605 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002269/0.002269, allocations: 280.6 kB / 291.5 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.9677/0.9677, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4251, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005758/0.4309, allocations: 4.288 MB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.5828, allocations: 150.5 MB / 0.9182 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009946/0.5839, allocations: 19.88 kB / 0.9183 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.5846, allocations: 170.4 kB / 0.9184 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.5864, allocations: 0.4988 MB / 0.9189 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5884, allocations: 0.8288 MB / 0.9197 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.59, allocations: 1.281 MB / 0.921 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/0.5909, allocations: 0.6178 MB / 0.9216 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006956/0.5916, allocations: 470.4 kB / 0.922 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.5923, allocations: 489.8 kB / 0.9225 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.5926, allocations: 112 kB / 0.9226 GB, free: 4 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009648/0.5935, allocations: 487.6 kB / 0.9231 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.5938, allocations: 287.1 kB / 0.9233 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.5944, allocations: 0.5324 MB / 0.9239 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.5962, allocations: 1.587 MB / 0.9254 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5962, allocations: 0 / 0.9254 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5963, allocations: 0 / 0.9254 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.5963, allocations: 0 / 0.9254 GB, free: 1.117 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002367/0.5986, allocations: 1.399 MB / 0.9268 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.5987, allocations: 8.031 kB / 0.9268 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009037/0.5996, allocations: 179.5 kB / 0.9269 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.6007, allocations: 0.7617 MB / 0.9277 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.6007, allocations: 58 kB / 0.9277 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.6008, allocations: 76 kB / 0.9278 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.6023, allocations: 0.9028 MB / 0.9287 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6024, allocations: 0 / 0.9287 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/0.6025, allocations: 39.98 kB / 0.9287 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.6025, allocations: 20 kB / 0.9288 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.6042, allocations: 1.097 MB / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.6079, allocations: 2.441 MB / 0.9322 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.6094, allocations: 0.8636 MB / 0.9331 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.61, allocations: 298.1 kB / 0.9333 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.6101, allocations: 28.61 kB / 0.9334 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008459/0.6109, allocations: 0.4912 MB / 0.9338 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/0.6109, allocations: 0 / 0.9338 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003096/0.614, allocations: 1.17 MB / 0.935 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.6141, allocations: 192.6 kB / 0.9352 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/0.6149, allocations: 0.6213 MB / 0.9358 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/0.615, allocations: 45.7 kB / 0.9358 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.6153, allocations: 380.5 kB / 0.9362 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.6155, allocations: 256.3 kB / 0.9364 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.6157, allocations: 162.5 kB / 0.9366 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6159, allocations: 394.7 kB / 0.937 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.6164, allocations: 265.8 kB / 0.9372 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.617, allocations: 351.1 kB / 0.9376 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.6181, allocations: 0.5955 MB / 0.9381 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.6181, allocations: 3.984 kB / 0.9381 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001934/0.6201, allocations: 0.8292 MB / 0.9389 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6201, allocations: 8 kB / 0.939 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6201, allocations: 0 / 0.939 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.6207, allocations: 84.86 kB / 0.939 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.6214, allocations: 159.8 kB / 0.9392 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6235, allocations: 1.634 MB / 0.9408 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.6242, allocations: 91.42 kB / 0.9409 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.6243, allocations: 35.97 kB / 0.9409 GB, free: 0.7031 MB / 0.7012 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 (93): * Single equations (assignments): 92 * 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.0003988/0.6247, allocations: 264.5 kB / 0.9412 GB, free: 448 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.6248, allocations: 86.91 kB / 0.9412 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.6272, allocations: 1.046 MB / 0.9423 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.6272, allocations: 3.984 kB / 0.9423 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6272, allocations: 0 / 0.9423 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.6276, allocations: 267.7 kB / 0.9425 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.6277, allocations: 35.86 kB / 0.9426 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.6284, allocations: 62.28 kB / 0.9426 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6285, allocations: 68.89 kB / 0.9427 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001986/0.6305, allocations: 0.9356 MB / 0.9436 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002176/0.6327, allocations: 1.383 MB / 0.9449 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005815/0.6333, allocations: 351.8 kB / 0.9453 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005259/0.6338, allocations: 447 kB / 0.9457 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of Backend: time 2.31e-07/0.6338, allocations: 4 kB / 0.9457 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003087/0.6369, allocations: 1.256 MB / 0.9469 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002743/0.6397, allocations: 2.014 MB / 0.9489 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.3561/0.9958, allocations: 15.97 MB / 0.9645 GB, free: 187.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)