Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001614/0.001614, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 281 kB / 291.4 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006835/0.0006836, allocations: 14.09 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2241, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004378/0.2285, allocations: 3.835 MB / 0.6882 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4854/0.714, allocations: 137 MB / 0.822 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008099/0.7148, allocations: 13.88 kB / 0.822 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.7154, allocations: 138.6 kB / 0.8221 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.7169, allocations: 447.8 kB / 0.8226 GB, free: 264 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.7186, allocations: 0.6337 MB / 0.8232 GB, free: 116 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.72, allocations: 1.171 MB / 0.8243 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006989/0.7207, allocations: 489.9 kB / 0.8248 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.7213, allocations: 359.8 kB / 0.8251 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.7217, allocations: 387.5 kB / 0.8255 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.7218, allocations: 31.5 kB / 0.8255 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.7227, allocations: 339.4 kB / 0.8258 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.7229, allocations: 195.4 kB / 0.826 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.7231, allocations: 197.2 kB / 0.8262 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.7243, allocations: 1.195 MB / 0.8274 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7243, allocations: 0 / 0.8274 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7243, allocations: 0 / 0.8274 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.7243, allocations: 0 / 0.8274 GB, free: 14.7 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.0023/0.7266, allocations: 1.254 MB / 0.8286 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7267, allocations: 8.906 kB / 0.8286 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.7276, allocations: 205.3 kB / 0.8288 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.7287, allocations: 0.7297 MB / 0.8295 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.7287, allocations: 68.44 kB / 0.8296 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-05/0.7288, allocations: 79.69 kB / 0.8297 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.7303, allocations: 0.9784 MB / 0.8306 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.7303, allocations: 0 / 0.8306 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-05/0.7304, allocations: 40.61 kB / 0.8307 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.7304, allocations: 18.84 kB / 0.8307 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.732, allocations: 1.157 MB / 0.8318 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.736, allocations: 2.703 MB / 0.8345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7374, allocations: 0.851 MB / 0.8353 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.7379, allocations: 324.5 kB / 0.8356 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.178e-05/0.738, allocations: 40.56 kB / 0.8356 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000846/0.7389, allocations: 0.538 MB / 0.8362 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.255e-06/0.7389, allocations: 0 / 0.8362 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.00286/0.7418, allocations: 1.292 MB / 0.8374 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.7419, allocations: 192.9 kB / 0.8376 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.7426, allocations: 0.6505 MB / 0.8382 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/0.7427, allocations: 51.27 kB / 0.8383 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.743, allocations: 405.8 kB / 0.8387 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.7432, allocations: 283.1 kB / 0.8389 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.7432, allocations: 17.88 kB / 0.839 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7434, allocations: 389.8 kB / 0.8393 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.7439, allocations: 291.6 kB / 0.8396 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.7445, allocations: 390.5 kB / 0.84 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/0.745, allocations: 335.9 kB / 0.8403 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.745, allocations: 3.938 kB / 0.8403 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001824/0.7469, allocations: 0.9131 MB / 0.8412 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7469, allocations: 9.969 kB / 0.8412 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.7469, allocations: 3.953 kB / 0.8412 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/0.7475, allocations: 84.98 kB / 0.8413 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/0.7482, allocations: 182.2 kB / 0.8415 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.75, allocations: 1.52 MB / 0.843 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/0.7509, allocations: 113.4 kB / 0.8431 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.7509, allocations: 41.09 kB / 0.8431 GB, free: 6.727 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004823/0.7514, allocations: 271.2 kB / 0.8434 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.7516, allocations: 86.03 kB / 0.8434 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.7539, allocations: 1.19 MB / 0.8446 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.754, allocations: 11.47 kB / 0.8446 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.754, allocations: 0 / 0.8446 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.754, allocations: 7.969 kB / 0.8446 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.7551, allocations: 0.9483 MB / 0.8455 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7551, allocations: 3.984 kB / 0.8456 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.7557, allocations: 156 kB / 0.8457 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.7562, allocations: 87.11 kB / 0.8458 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.7562, allocations: 28.67 kB / 0.8458 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.758, allocations: 1.54 MB / 0.8473 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.758, allocations: 0 / 0.8473 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.76, allocations: 1 MB / 0.8483 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.7604, allocations: 303.6 kB / 0.8486 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.7605, allocations: 24.19 kB / 0.8486 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.7611, allocations: 82.17 kB / 0.8487 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.7613, allocations: 79.64 kB / 0.8488 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.7614, allocations: 40.55 kB / 0.8488 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000555/0.7619, allocations: 476 kB / 0.8493 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7619, allocations: 4 kB / 0.8493 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008761/0.7628, allocations: 328.8 kB / 0.8496 GB, free: 2.188 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/0.7641, allocations: 0.5844 MB / 0.8501 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.7658, allocations: 0.8912 MB / 0.851 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7658, allocations: 3.938 kB / 0.851 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008643/0.7667, allocations: 0.5438 MB / 0.8515 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.7678, allocations: 258.9 kB / 0.8518 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.7717, allocations: 2.278 MB / 0.854 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.7723, allocations: 1.044 MB / 0.855 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009456/0.7732, allocations: 268.3 kB / 0.8553 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.7735, allocations: 112.1 kB / 0.8554 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of SimCode: time 2.154e-06/0.7735, allocations: 4 kB / 0.8554 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.02345/0.797, allocations: 14.34 MB / 0.8694 GB, free: 2.445 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)