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.001184/0.001184, allocations: 104 kB / 16.41 MB, free: 6.492 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.001181/0.001181, allocations: 193.4 kB / 17.34 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002203/0.002203, allocations: 289.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 99.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4051, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007116/0.4123, allocations: 5.451 MB / 0.7723 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1617/0.574, allocations: 151.1 MB / 0.9199 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5751, allocations: 19.88 kB / 0.92 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008399/0.5759, allocations: 209.9 kB / 0.9202 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.5784, allocations: 0.6768 MB / 0.9208 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.5809, allocations: 0.9843 MB / 0.9218 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.5832, allocations: 1.892 MB / 0.9236 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.5848, allocations: 1.084 MB / 0.9247 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.586, allocations: 0.8096 MB / 0.9255 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.5873, allocations: 0.8673 MB / 0.9263 GB, free: 136 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004956/0.5878, allocations: 204 kB / 0.9265 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.5891, allocations: 0.566 MB / 0.9271 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.5897, allocations: 490.4 kB / 0.9275 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.5908, allocations: 0.8978 MB / 0.9284 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.5937, allocations: 2.491 MB / 0.9308 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5937, allocations: 0 / 0.9308 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5937, allocations: 3.938 kB / 0.9308 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.5937, allocations: 4 kB / 0.9308 GB, free: 11.48 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.003653/0.5974, allocations: 2.011 MB / 0.9328 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5974, allocations: 8.031 kB / 0.9328 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5984, allocations: 266.4 kB / 0.9331 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.5999, allocations: 0.9888 MB / 0.934 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.6, allocations: 119.1 kB / 0.9342 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.6002, allocations: 144 kB / 0.9343 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.6026, allocations: 1.592 MB / 0.9358 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.6027, allocations: 0 / 0.9358 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.6028, allocations: 72 kB / 0.9359 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.6029, allocations: 36 kB / 0.9359 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.6054, allocations: 1.639 MB / 0.9375 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006219/0.6116, allocations: 4.087 MB / 0.9415 GB, free: 280 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.6137, allocations: 1.187 MB / 0.9427 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007703/0.6145, allocations: 475.7 kB / 0.9432 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.862e-05/0.6146, allocations: 48.83 kB / 0.9432 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.6158, allocations: 0.7783 MB / 0.944 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=128): time 2.755e-06/0.6159, allocations: 0 / 0.944 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=128): time 0.004296/0.6202, allocations: 1.842 MB / 0.9458 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.6203, allocations: 197.2 kB / 0.9459 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.6214, allocations: 0.8693 MB / 0.9468 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/0.6215, allocations: 49.7 kB / 0.9468 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.622, allocations: 0.6053 MB / 0.9474 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.6223, allocations: 406.2 kB / 0.9478 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/0.6227, allocations: 254.7 kB / 0.9481 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6228, allocations: 353.9 kB / 0.9484 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008261/0.6236, allocations: 446.4 kB / 0.9488 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/0.6246, allocations: 0.5648 MB / 0.9494 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.6263, allocations: 0.978 MB / 0.9503 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6263, allocations: 3.938 kB / 0.9503 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00279/0.6291, allocations: 1.336 MB / 0.9516 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6291, allocations: 8 kB / 0.9516 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.6291, allocations: 0 / 0.9516 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.6297, allocations: 84.83 kB / 0.9517 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.6309, allocations: 267.6 kB / 0.952 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.633, allocations: 1.654 MB / 0.9536 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.6341, allocations: 146.9 kB / 0.9537 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.6342, allocations: 60.02 kB / 0.9538 GB, free: 3.383 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.0006306/0.6349, allocations: 353.7 kB / 0.9541 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.6351, allocations: 118.5 kB / 0.9542 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/0.6386, allocations: 1.702 MB / 0.9559 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6386, allocations: 16.11 kB / 0.9559 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6387, allocations: 3.938 kB / 0.9559 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.6387, allocations: 7.969 kB / 0.9559 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3528/0.9915, allocations: 1.402 MB / 0.9573 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.9916, allocations: 0 / 0.9573 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.9928, allocations: 213 kB / 0.9575 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.9934, allocations: 71.61 kB / 0.9576 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.9935, allocations: 43.03 kB / 0.9576 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.9953, allocations: 1.672 MB / 0.9593 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9953, allocations: 3.25 kB / 0.9593 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.9987, allocations: 1.411 MB / 0.9606 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.9992, allocations: 369.4 kB / 0.961 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.9995, allocations: 39.31 kB / 0.961 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/1, allocations: 82.28 kB / 0.9611 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/1.001, allocations: 114.7 kB / 0.9612 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.001, allocations: 56.61 kB / 0.9613 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008893/1.002, allocations: 0.6474 MB / 0.9619 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.002, allocations: 0 / 0.9619 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001074/1.003, allocations: 466 kB / 0.9623 GB, free: 185.2 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.001322/1.004, allocations: 0.6285 MB / 0.963 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002256/1.006, allocations: 1.262 MB / 0.9642 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.006, allocations: 0 / 0.9642 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.007, allocations: 0.7504 MB / 0.9649 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.009, allocations: 322.5 kB / 0.9652 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/1.014, allocations: 2.692 MB / 0.9679 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/1.014, allocations: 1.236 MB / 0.9691 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/1.015, allocations: 180.9 kB / 0.9692 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/1.015, allocations: 0 / 0.9692 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02511/1.04, allocations: 27.79 MB / 0.9964 GB, free: 157.2 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)