Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 114.6 kB / 16.42 MB, free: 6.496 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.001014/0.001014, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002192, allocations: 284.8 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.9434/0.9434, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4075, allocations: 86.96 MB / 0.767 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006463/0.414, allocations: 5.458 MB / 0.7723 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.5611, allocations: 151.1 MB / 0.9199 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.5621, allocations: 19.94 kB / 0.92 GB, free: 6.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.5628, allocations: 209.9 kB / 0.9202 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.5647, allocations: 0.675 MB / 0.9208 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.5668, allocations: 0.9809 MB / 0.9218 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.5686, allocations: 1.904 MB / 0.9236 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.5698, allocations: 1.072 MB / 0.9247 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009777/0.5708, allocations: 0.8135 MB / 0.9255 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008183/0.5716, allocations: 0.8557 MB / 0.9263 GB, free: 316 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.5719, allocations: 208 kB / 0.9265 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009917/0.5729, allocations: 0.5743 MB / 0.9271 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.5732, allocations: 486.4 kB / 0.9275 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006527/0.5739, allocations: 0.8939 MB / 0.9284 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.5761, allocations: 2.494 MB / 0.9308 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5762, allocations: 0 / 0.9308 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5762, allocations: 0 / 0.9308 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.5762, allocations: 4 kB / 0.9308 GB, free: 11.65 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003563/0.5798, allocations: 2.021 MB / 0.9328 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5798, allocations: 12.02 kB / 0.9328 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.5809, allocations: 254.5 kB / 0.9331 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.5822, allocations: 0.9966 MB / 0.934 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.5823, allocations: 119.1 kB / 0.9342 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.5824, allocations: 148 kB / 0.9343 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.5849, allocations: 1.58 MB / 0.9358 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.585, allocations: 11.92 kB / 0.9359 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.5851, allocations: 60 kB / 0.9359 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.5852, allocations: 40 kB / 0.9359 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.5877, allocations: 1.643 MB / 0.9376 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005989/0.5937, allocations: 4.083 MB / 0.9415 GB, free: 452 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.5957, allocations: 1.19 MB / 0.9427 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.5965, allocations: 471.7 kB / 0.9432 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-05/0.5966, allocations: 53.08 kB / 0.9432 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00124/0.5978, allocations: 0.7782 MB / 0.944 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=128): time 2.725e-06/0.5979, allocations: 0 / 0.944 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128): time 0.004218/0.6021, allocations: 1.838 MB / 0.9458 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.6022, allocations: 201.2 kB / 0.9459 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6032, allocations: 0.8693 MB / 0.9468 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.6033, allocations: 49.69 kB / 0.9468 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.6037, allocations: 0.6054 MB / 0.9474 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.604, allocations: 406.2 kB / 0.9478 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.6044, allocations: 258.7 kB / 0.9481 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6045, allocations: 353.9 kB / 0.9484 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/0.6054, allocations: 446.4 kB / 0.9488 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/0.6063, allocations: 0.5649 MB / 0.9494 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.608, allocations: 0.974 MB / 0.9503 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.608, allocations: 0 / 0.9503 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002738/0.6108, allocations: 1.336 MB / 0.9516 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.6108, allocations: 15.38 kB / 0.9517 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.6108, allocations: 3.984 kB / 0.9517 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.6114, allocations: 88.77 kB / 0.9517 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.6126, allocations: 267.6 kB / 0.952 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.6146, allocations: 1.642 MB / 0.9536 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.6158, allocations: 142.8 kB / 0.9537 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.6159, allocations: 60.02 kB / 0.9538 GB, free: 3.555 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0006023/0.6165, allocations: 360.1 kB / 0.9541 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.6167, allocations: 122.5 kB / 0.9543 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.6202, allocations: 1.702 MB / 0.9559 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.6202, allocations: 8.078 kB / 0.9559 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6203, allocations: 3.938 kB / 0.9559 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.6207, allocations: 375 kB / 0.9563 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.6209, allocations: 31.91 kB / 0.9563 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009444/0.6219, allocations: 87.91 kB / 0.9564 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.6221, allocations: 113.1 kB / 0.9565 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3364/0.9585, allocations: 1.422 MB / 0.9579 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003956/0.9625, allocations: 2.119 MB / 0.96 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008807/0.9634, allocations: 0.5574 MB / 0.9605 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000888/0.9643, allocations: 0.6454 MB / 0.9611 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of Backend: time 5.41e-07/0.9643, allocations: 2.5 kB / 0.9611 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003735/0.968, allocations: 1.539 MB / 0.9626 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003435/0.9715, allocations: 2.809 MB / 0.9654 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02942/1.001, allocations: 23.1 MB / 0.9879 GB, free: 166.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)