Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.45 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2943, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006683/0.3011, allocations: 5.12 MB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1589/0.46, allocations: 150.7 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.4612, allocations: 15.94 kB / 1.22 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.4618, allocations: 202.1 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.4639, allocations: 0.5618 MB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.466, allocations: 0.8445 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.4678, allocations: 1.436 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/0.4688, allocations: 0.6521 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.4695, allocations: 0.51 MB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006336/0.4702, allocations: 0.5368 MB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.4703, allocations: 128 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009708/0.4713, allocations: 471.6 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.4716, allocations: 315 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.4722, allocations: 0.6064 MB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.4741, allocations: 1.69 MB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4741, allocations: 0 / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4741, allocations: 3.938 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.807e-05/0.4742, allocations: 0 / 1.228 GB, free: 6.023 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002618/0.4768, allocations: 1.492 MB / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4768, allocations: 8.031 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.478, allocations: 219.2 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.4791, allocations: 0.7616 MB / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/0.4792, allocations: 74 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.4793, allocations: 88 kB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.481, allocations: 1.011 MB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.481, allocations: 0 / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.4811, allocations: 43.94 kB / 1.232 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.4812, allocations: 24 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.4831, allocations: 1.167 MB / 1.233 GB, free: 1.012 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.004288/0.4874, allocations: 2.883 MB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.4898, allocations: 0.9712 MB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/0.4904, allocations: 314.6 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-05/0.4905, allocations: 40.59 kB / 1.237 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009566/0.4915, allocations: 0.5068 MB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.174e-06/0.4915, allocations: 3.938 kB / 1.237 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.00332/0.4948, allocations: 1.229 MB / 1.239 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.4949, allocations: 192.5 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008146/0.4958, allocations: 0.6411 MB / 1.239 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.4959, allocations: 41.7 kB / 1.239 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.4962, allocations: 412.3 kB / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.4964, allocations: 276.1 kB / 1.24 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.4967, allocations: 170.4 kB / 1.24 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4968, allocations: 390.8 kB / 1.241 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.4974, allocations: 281.8 kB / 1.241 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.4981, allocations: 367.1 kB / 1.241 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.4992, allocations: 0.6229 MB / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4993, allocations: 0 / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00207/0.5013, allocations: 0.8838 MB / 1.243 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.5014, allocations: 5.562 kB / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5014, allocations: 0 / 1.243 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/0.502, allocations: 80.88 kB / 1.243 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.5027, allocations: 163.8 kB / 1.243 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.5047, allocations: 1.63 MB / 1.245 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007873/0.5055, allocations: 103.3 kB / 1.245 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.5056, allocations: 31.98 kB / 1.245 GB, free: 4.363 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004633/0.5061, allocations: 276.4 kB / 1.245 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.5063, allocations: 82.97 kB / 1.245 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.5087, allocations: 1.105 MB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.5087, allocations: 12 kB / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.5087, allocations: 0 / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5087, allocations: 3.984 kB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.512, allocations: 2.001 MB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.512, allocations: 0 / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.5126, allocations: 151.7 kB / 1.248 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.5131, allocations: 72.78 kB / 1.248 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.5132, allocations: 27.97 kB / 1.248 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.535/1.048, allocations: 1.649 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.048, allocations: 0 / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/1.051, allocations: 1.019 MB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/1.051, allocations: 276.2 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/1.051, allocations: 26.55 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.052, allocations: 63.09 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.052, allocations: 76.33 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-05/1.052, allocations: 32.84 kB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006578/1.053, allocations: 470.9 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.053, allocations: 0 / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009367/1.054, allocations: 344.4 kB / 1.252 GB, free: 182.2 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001324/1.055, allocations: 0.6048 MB / 1.253 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002551/1.058, allocations: 1.065 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.058, allocations: 0.8125 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009469/1.059, allocations: 0.5316 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/1.06, allocations: 305.6 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/1.063, allocations: 1.74 MB / 1.256 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/1.063, allocations: 1.043 MB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008212/1.064, allocations: 282.3 kB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/1.064, allocations: 112 kB / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/1.064, allocations: 0 / 1.258 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.02849/1.093, allocations: 15.57 MB / 1.273 GB, free: 177.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)