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.001156/0.001156, allocations: 109.3 kB / 16.42 MB, free: 6.457 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.001194/0.001194, allocations: 190.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.355/1.355, 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.002131/0.002131, allocations: 286.9 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.975/0.975, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003264/0.003264, allocations: 100.2 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4581, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005765/0.4639, allocations: 4.28 MB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1504/0.6143, allocations: 150.5 MB / 0.9182 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006943/0.6151, allocations: 15.94 kB / 0.9182 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.6157, allocations: 170.4 kB / 0.9184 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.6176, allocations: 0.494 MB / 0.9189 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.6197, allocations: 0.8216 MB / 0.9197 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.6213, allocations: 1.277 MB / 0.9209 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009466/0.6222, allocations: 0.6163 MB / 0.9215 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007193/0.6229, allocations: 478.3 kB / 0.922 GB, free: 4.586 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.6236, allocations: 481.8 kB / 0.9225 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.6239, allocations: 116 kB / 0.9226 GB, free: 4 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009941/0.6249, allocations: 491.5 kB / 0.923 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.6252, allocations: 287.1 kB / 0.9233 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005784/0.6258, allocations: 0.5285 MB / 0.9238 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.6277, allocations: 1.583 MB / 0.9254 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6277, allocations: 0 / 0.9254 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6277, allocations: 0 / 0.9254 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.203e-05/0.6278, allocations: 4 kB / 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.002747/0.6305, allocations: 1.395 MB / 0.9267 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6306, allocations: 8.031 kB / 0.9267 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009421/0.6315, allocations: 183.5 kB / 0.9269 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.6327, allocations: 0.7616 MB / 0.9277 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.6328, allocations: 62 kB / 0.9277 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.6329, allocations: 83.94 kB / 0.9278 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.6345, allocations: 0.9028 MB / 0.9287 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.6345, allocations: 3.938 kB / 0.9287 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.6346, allocations: 35.98 kB / 0.9287 GB, free: 13.56 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.6346, allocations: 20 kB / 0.9287 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.6363, allocations: 1.093 MB / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003725/0.64, allocations: 2.433 MB / 0.9322 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.6415, allocations: 0.8675 MB / 0.933 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.642, allocations: 302.7 kB / 0.9333 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.971e-05/0.6421, allocations: 32.59 kB / 0.9334 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008078/0.6429, allocations: 491 kB / 0.9338 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 3.457e-06/0.6429, allocations: 0 / 0.9338 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003011/0.646, allocations: 1.17 MB / 0.935 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.6461, allocations: 192.6 kB / 0.9352 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.6469, allocations: 0.6291 MB / 0.9358 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.6469, allocations: 37.7 kB / 0.9358 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.6472, allocations: 388.5 kB / 0.9362 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.6475, allocations: 256.3 kB / 0.9364 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.6477, allocations: 162.5 kB / 0.9366 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6479, allocations: 382.7 kB / 0.9369 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.6484, allocations: 265.8 kB / 0.9372 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.649, allocations: 359.1 kB / 0.9375 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.6501, allocations: 0.5917 MB / 0.9381 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6501, allocations: 4 kB / 0.9381 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001957/0.6521, allocations: 0.837 MB / 0.9389 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6521, allocations: 6.188 kB / 0.9389 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.6522, allocations: 4 kB / 0.9389 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.6528, allocations: 84.86 kB / 0.939 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.6534, allocations: 155.7 kB / 0.9392 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.6557, allocations: 1.633 MB / 0.9408 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/0.6566, allocations: 87.33 kB / 0.9408 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6568, allocations: 39.91 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.0005408/0.6573, allocations: 271.5 kB / 0.9411 GB, free: 440 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/0.6576, allocations: 82.91 kB / 0.9412 GB, free: 356 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.66, allocations: 1.05 MB / 0.9423 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.66, allocations: 3.984 kB / 0.9423 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6601, allocations: 0 / 0.9423 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004024/0.6605, allocations: 267.7 kB / 0.9425 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.6606, allocations: 27.92 kB / 0.9425 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000642/0.6613, allocations: 63.94 kB / 0.9426 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.6614, allocations: 72.89 kB / 0.9427 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002/0.6634, allocations: 0.9357 MB / 0.9436 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002272/0.6657, allocations: 1.379 MB / 0.9449 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005847/0.6663, allocations: 351.8 kB / 0.9453 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007847/0.6671, allocations: 459 kB / 0.9457 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of Backend: time 1.242e-06/0.6671, allocations: 0 / 0.9457 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004168/0.6713, allocations: 1.255 MB / 0.9469 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003562/0.6749, allocations: 2.01 MB / 0.9489 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of Templates: time 0.3567/1.032, allocations: 15.98 MB / 0.9645 GB, free: 187.6 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)