Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001095/0.001094, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009105/0.009105, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004282/0.0004283, allocations: 11.16 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4251, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.009651/0.4348, allocations: 4.551 MB / 1.079 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1895/0.6243, allocations: 146.9 MB / 1.222 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.6249, allocations: 15.94 kB / 1.222 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.6255, allocations: 158.8 kB / 1.222 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.6269, allocations: 499.8 kB / 1.223 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.6287, allocations: 0.7274 MB / 1.223 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.6301, allocations: 1.354 MB / 1.225 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008123/0.6309, allocations: 0.5555 MB / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.6315, allocations: 382.2 kB / 1.226 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.6321, allocations: 421.7 kB / 1.226 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.828e-05/0.6322, allocations: 32 kB / 1.226 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007836/0.633, allocations: 367.6 kB / 1.226 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.6333, allocations: 195.1 kB / 1.227 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.6337, allocations: 0.4909 MB / 1.227 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.6352, allocations: 1.538 MB / 1.229 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6352, allocations: 0 / 1.229 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6352, allocations: 7.938 kB / 1.229 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.6352, allocations: 0 / 1.229 GB, free: 8.793 MB / 0.9825 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.002434/0.6376, allocations: 1.254 MB / 1.23 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.6377, allocations: 16.02 kB / 1.23 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.6387, allocations: 203.3 kB / 1.23 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.6398, allocations: 0.7546 MB / 1.231 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.6399, allocations: 66 kB / 1.231 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.64, allocations: 87.98 kB / 1.231 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.6417, allocations: 0.9768 MB / 1.232 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.6417, allocations: 0 / 1.232 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.862e-05/0.6418, allocations: 36 kB / 1.232 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.6418, allocations: 20 kB / 1.232 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.6437, allocations: 1.171 MB / 1.233 GB, free: 4.082 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.648, allocations: 2.925 MB / 1.236 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.6496, allocations: 0.8513 MB / 1.237 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.6503, allocations: 330.7 kB / 1.237 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.335e-05/0.6504, allocations: 40.67 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.6514, allocations: 0.5237 MB / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=88): time 2.325e-06/0.6514, allocations: 0 / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88): time 0.003488/0.6549, allocations: 1.317 MB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.655, allocations: 192.9 kB / 1.239 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008269/0.6559, allocations: 0.6566 MB / 1.24 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.6559, allocations: 41.7 kB / 1.24 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.6563, allocations: 408.4 kB / 1.24 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.6565, allocations: 287.9 kB / 1.24 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.6566, allocations: 77.62 kB / 1.24 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6568, allocations: 394.7 kB / 1.241 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.6574, allocations: 289.8 kB / 1.241 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006741/0.6581, allocations: 399.1 kB / 1.242 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.6593, allocations: 0.6672 MB / 1.242 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6594, allocations: 0 / 1.242 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002136/0.6615, allocations: 0.9268 MB / 1.243 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6615, allocations: 7.938 kB / 1.243 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6615, allocations: 7.938 kB / 1.243 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/0.6622, allocations: 84.83 kB / 1.243 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.6629, allocations: 183.7 kB / 1.243 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.665, allocations: 1.525 MB / 1.245 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008229/0.6658, allocations: 112 kB / 1.245 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/0.6659, allocations: 39.97 kB / 1.245 GB, free: 7.426 MB / 0.9981 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * 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 (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.0004901/0.6664, allocations: 287.8 kB / 1.245 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.6666, allocations: 94.88 kB / 1.245 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.6694, allocations: 1.164 MB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.6694, allocations: 8 kB / 1.246 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.6694, allocations: 7.938 kB / 1.246 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6694, allocations: 3.984 kB / 1.246 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6707, allocations: 0.9386 MB / 1.247 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.6707, allocations: 0 / 1.247 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.6713, allocations: 159.8 kB / 1.248 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.6719, allocations: 84.78 kB / 1.248 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/0.672, allocations: 27.97 kB / 1.248 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.6739, allocations: 1.548 MB / 1.249 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6739, allocations: 4.062 kB / 1.249 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.6761, allocations: 1.006 MB / 1.25 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.6766, allocations: 303.5 kB / 1.25 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.6768, allocations: 19.98 kB / 1.25 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.6776, allocations: 89.23 kB / 1.251 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.6778, allocations: 80.83 kB / 1.251 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.5e-05/0.6779, allocations: 39.97 kB / 1.251 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000654/0.6786, allocations: 475 kB / 1.251 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6786, allocations: 0 / 1.251 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009565/0.6795, allocations: 339.2 kB / 1.251 GB, free: 0.5352 MB / 0.9981 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 (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.00154/0.6811, allocations: 0.602 MB / 1.252 GB, free: 108 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.6282/1.309, allocations: 0.8976 MB / 1.253 GB, free: 30.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.309, allocations: 0.9062 kB / 1.253 GB, free: 30.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/1.31, allocations: 0.5453 MB / 1.253 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/1.312, allocations: 276.2 kB / 1.254 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/1.316, allocations: 2.199 MB / 1.256 GB, free: 29.58 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/1.316, allocations: 1.043 MB / 1.257 GB, free: 28.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001109/1.317, allocations: 270.5 kB / 1.257 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.318, allocations: 117.8 kB / 1.257 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.318, allocations: 0 / 1.257 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.03381/1.352, allocations: 15.13 MB / 1.272 GB, free: 27.89 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)