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.001254/0.001254, allocations: 105 kB / 16.41 MB, free: 6.465 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.001051/0.001051, allocations: 187 kB / 17.34 MB, free: 5.719 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.349/1.349, 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.002272/0.002272, allocations: 290.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9632/0.9632, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5573, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006895/0.5642, allocations: 5.454 MB / 0.7723 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1842/0.7485, allocations: 151.1 MB / 0.9199 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.7497, allocations: 19.88 kB / 0.9199 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.7505, allocations: 209.9 kB / 0.9202 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.7525, allocations: 0.6691 MB / 0.9208 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.7548, allocations: 0.9874 MB / 0.9218 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.7565, allocations: 1.896 MB / 0.9236 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.7578, allocations: 1.076 MB / 0.9247 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.7587, allocations: 0.8096 MB / 0.9255 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/0.7595, allocations: 0.8712 MB / 0.9263 GB, free: 112 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.7598, allocations: 204 kB / 0.9265 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009826/0.7608, allocations: 0.5582 MB / 0.9271 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.7612, allocations: 498.4 kB / 0.9275 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007161/0.7619, allocations: 0.9017 MB / 0.9284 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.7642, allocations: 2.487 MB / 0.9308 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7642, allocations: 0 / 0.9308 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7642, allocations: 0 / 0.9308 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.7642, allocations: 0 / 0.9308 GB, free: 11.46 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.003598/0.7679, allocations: 2.023 MB / 0.9328 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.7679, allocations: 12.03 kB / 0.9328 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.7689, allocations: 266.4 kB / 0.9331 GB, free: 9.102 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.7703, allocations: 0.9888 MB / 0.934 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.7705, allocations: 123 kB / 0.9342 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/0.7706, allocations: 148 kB / 0.9343 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.773, allocations: 1.576 MB / 0.9358 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.7731, allocations: 0 / 0.9358 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.7732, allocations: 71.98 kB / 0.9359 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.7733, allocations: 36 kB / 0.9359 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.7757, allocations: 1.635 MB / 0.9375 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005849/0.7816, allocations: 4.091 MB / 0.9415 GB, free: 256 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.7835, allocations: 1.19 MB / 0.9427 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.7843, allocations: 471.7 kB / 0.9431 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.99e-05/0.7844, allocations: 44.92 kB / 0.9432 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.7856, allocations: 0.786 MB / 0.944 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=128): time 2.555e-06/0.7856, allocations: 0 / 0.944 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128): time 0.004119/0.7897, allocations: 1.838 MB / 0.9458 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.7899, allocations: 197.2 kB / 0.9459 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7909, allocations: 0.8692 MB / 0.9468 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/0.791, allocations: 49.7 kB / 0.9468 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.7915, allocations: 0.6092 MB / 0.9474 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.7918, allocations: 402.2 kB / 0.9478 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.7922, allocations: 254.7 kB / 0.9481 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7923, allocations: 353.9 kB / 0.9484 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/0.7931, allocations: 450.4 kB / 0.9488 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008984/0.794, allocations: 0.5571 MB / 0.9494 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.7957, allocations: 0.9818 MB / 0.9503 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7957, allocations: 0 / 0.9503 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002687/0.7984, allocations: 1.344 MB / 0.9516 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.7984, allocations: 8 kB / 0.9516 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.7984, allocations: 96 / 0.9516 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/0.7991, allocations: 84.78 kB / 0.9517 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.8002, allocations: 271.6 kB / 0.952 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.8025, allocations: 1.642 MB / 0.9536 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.8036, allocations: 156.9 kB / 0.9537 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.8037, allocations: 59.94 kB / 0.9538 GB, free: 3.355 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.0005887/0.8043, allocations: 348 kB / 0.9541 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.8045, allocations: 126.6 kB / 0.9543 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003354/0.8078, allocations: 1.702 MB / 0.9559 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.8079, allocations: 19.98 kB / 0.9559 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.8079, allocations: 0 / 0.9559 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.8079, allocations: 7.969 kB / 0.9559 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4594/1.267, allocations: 1.397 MB / 0.9573 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.267, allocations: 1.391 kB / 0.9573 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.269, allocations: 214.7 kB / 0.9575 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/1.269, allocations: 74.44 kB / 0.9576 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001601/1.27, allocations: 41.77 kB / 0.9576 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/1.272, allocations: 1.67 MB / 0.9593 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.272, allocations: 0 / 0.9593 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/1.276, allocations: 1.412 MB / 0.9606 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006927/1.276, allocations: 373 kB / 0.961 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.276, allocations: 36.94 kB / 0.961 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009274/1.277, allocations: 84.17 kB / 0.9611 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/1.278, allocations: 117.6 kB / 0.9612 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.278, allocations: 52.98 kB / 0.9613 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001066/1.279, allocations: 0.644 MB / 0.9619 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.279, allocations: 0 / 0.9619 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001389/1.28, allocations: 468.8 kB / 0.9623 GB, free: 185.3 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001542/1.282, allocations: 0.62 MB / 0.9629 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002799/1.285, allocations: 1.267 MB / 0.9642 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.285, allocations: 0 / 0.9642 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/1.286, allocations: 0.74 MB / 0.9649 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/1.288, allocations: 340.2 kB / 0.9652 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/1.294, allocations: 2.699 MB / 0.9679 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/1.296, allocations: 1.234 MB / 0.9691 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/1.296, allocations: 172.7 kB / 0.9692 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.974e-06/1.296, allocations: 0 / 0.9692 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.03903/1.335, allocations: 27.58 MB / 0.9962 GB, free: 157.4 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)