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.001179/0.001179, allocations: 104.5 kB / 16.35 MB, free: 5.875 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.001155/0.001155, allocations: 191 kB / 17.29 MB, free: 5.516 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 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.00217/0.00217, allocations: 293.5 kB / 291.4 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.9257/0.9257, allocations: 169.3 MB / 0.4989 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 99.38 kB / 0.5967 GB, free: 14.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1433, allocations: 86.96 MB / 0.6816 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006585/0.1499, allocations: 5.455 MB / 0.6869 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3887/0.5386, allocations: 151.1 MB / 0.8345 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008394/0.5395, allocations: 23.88 kB / 0.8345 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.5401, allocations: 209.9 kB / 0.8347 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5419, allocations: 0.6791 MB / 0.8354 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.544, allocations: 0.9845 MB / 0.8363 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001722/0.5458, allocations: 1.892 MB / 0.8382 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.547, allocations: 1.083 MB / 0.8392 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008694/0.5479, allocations: 0.794 MB / 0.84 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008569/0.5488, allocations: 0.8673 MB / 0.8409 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.549, allocations: 211.9 kB / 0.8411 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/0.5499, allocations: 0.5621 MB / 0.8416 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.5503, allocations: 490.4 kB / 0.8421 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007897/0.5511, allocations: 0.9017 MB / 0.843 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.5532, allocations: 2.479 MB / 0.8454 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5532, allocations: 0 / 0.8454 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5532, allocations: 7.984 kB / 0.8454 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.5533, allocations: 0 / 0.8454 GB, free: 6.68 MB / 0.6075 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.003696/0.557, allocations: 2.024 MB / 0.8474 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.557, allocations: 8.031 kB / 0.8474 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/0.558, allocations: 254.6 kB / 0.8476 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.5594, allocations: 0.9931 MB / 0.8486 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.019e-05/0.5595, allocations: 115.1 kB / 0.8487 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.5597, allocations: 152 kB / 0.8488 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.5622, allocations: 1.58 MB / 0.8504 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.5622, allocations: 0 / 0.8504 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.5623, allocations: 60 kB / 0.8504 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.5624, allocations: 40 kB / 0.8505 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.565, allocations: 1.639 MB / 0.8521 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006175/0.5712, allocations: 4.088 MB / 0.8561 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.5732, allocations: 1.193 MB / 0.8572 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00078/0.574, allocations: 480.8 kB / 0.8577 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.5741, allocations: 49 kB / 0.8577 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.5754, allocations: 0.7744 MB / 0.8585 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=128): time 2.264e-06/0.5754, allocations: 0 / 0.8585 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128): time 0.004225/0.5796, allocations: 1.838 MB / 0.8603 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/0.5797, allocations: 193.2 kB / 0.8605 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.5808, allocations: 0.8653 MB / 0.8613 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.024e-05/0.5809, allocations: 53.69 kB / 0.8614 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.5813, allocations: 0.6093 MB / 0.862 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.5816, allocations: 406.2 kB / 0.8624 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003787/0.582, allocations: 258.8 kB / 0.8626 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5821, allocations: 361.8 kB / 0.8629 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008175/0.5829, allocations: 450.4 kB / 0.8634 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009631/0.5839, allocations: 0.5648 MB / 0.8639 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.5856, allocations: 0.9779 MB / 0.8649 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5857, allocations: 0 / 0.8649 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002749/0.5884, allocations: 1.332 MB / 0.8662 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5884, allocations: 8.094 kB / 0.8662 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5885, allocations: 0 / 0.8662 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.589, allocations: 88.77 kB / 0.8663 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5902, allocations: 271.6 kB / 0.8665 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.5923, allocations: 1.652 MB / 0.8681 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.5933, allocations: 142.8 kB / 0.8683 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.5934, allocations: 59.95 kB / 0.8683 GB, free: 14.6 MB / 0.6387 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.0005322/0.594, allocations: 358.9 kB / 0.8687 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.5942, allocations: 122.5 kB / 0.8688 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.5978, allocations: 1.703 MB / 0.8705 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.5979, allocations: 12 kB / 0.8705 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5979, allocations: 0 / 0.8705 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.5979, allocations: 11.97 kB / 0.8705 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.5994, allocations: 1.394 MB / 0.8718 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5994, allocations: 0 / 0.8718 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.6004, allocations: 219.7 kB / 0.8721 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004469/0.6009, allocations: 72.78 kB / 0.8721 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.601, allocations: 39.97 kB / 0.8722 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.6028, allocations: 1.67 MB / 0.8738 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6028, allocations: 7.969 kB / 0.8738 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/0.6056, allocations: 1.402 MB / 0.8752 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005566/0.6062, allocations: 379 kB / 0.8755 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.6064, allocations: 32.06 kB / 0.8756 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009291/0.6073, allocations: 92.61 kB / 0.8757 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.6075, allocations: 109.2 kB / 0.8758 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6076, allocations: 55.89 kB / 0.8758 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008104/0.6085, allocations: 0.6502 MB / 0.8764 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6085, allocations: 4 kB / 0.8764 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009847/0.6095, allocations: 470.5 kB / 0.8769 GB, free: 5.566 MB / 0.6387 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.001332/0.6108, allocations: 0.619 MB / 0.8775 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.6132, allocations: 1.267 MB / 0.8787 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6132, allocations: 0 / 0.8787 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.6145, allocations: 0.7441 MB / 0.8795 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.6157, allocations: 319.3 kB / 0.8798 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.6206, allocations: 2.664 MB / 0.8824 GB, free: 104 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.6214, allocations: 1.228 MB / 0.8836 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009639/0.6224, allocations: 333.9 kB / 0.8839 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.6228, allocations: 155.3 kB / 0.884 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of SimCode: time 1.623e-06/0.6228, allocations: 0 / 0.884 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.03299/0.6558, allocations: 20.76 MB / 0.9043 GB, free: 9.801 MB / 0.67 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)