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.001382/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001608/0.001608, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.874/2.874, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.75 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.35, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006698/0.3568, allocations: 5.126 MB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.5414, allocations: 148.4 MB / 1.217 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.5426, allocations: 15.94 kB / 1.217 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009696/0.5436, allocations: 154.8 kB / 1.218 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/0.5461, allocations: 488.8 kB / 1.218 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.5484, allocations: 0.7395 MB / 1.219 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.5505, allocations: 1.342 MB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.5516, allocations: 0.6353 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008598/0.5525, allocations: 458.2 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008952/0.5534, allocations: 0.5055 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.5537, allocations: 64 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5547, allocations: 407.7 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.5551, allocations: 258.9 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006899/0.5557, allocations: 0.5439 MB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.5575, allocations: 1.635 MB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5575, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5575, allocations: 0 / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.5575, allocations: 8 kB / 1.224 GB, free: 9.543 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.00281/0.5603, allocations: 1.492 MB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 8.051e-05/0.5604, allocations: 12.03 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.5616, allocations: 211.3 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.5628, allocations: 0.7655 MB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.5628, allocations: 69.98 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.563, allocations: 92 kB / 1.227 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5648, allocations: 1.007 MB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.5649, allocations: 0 / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/0.565, allocations: 40 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.565, allocations: 20 kB / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.5671, allocations: 1.179 MB / 1.229 GB, free: 4.531 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.004801/0.572, allocations: 2.875 MB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.5746, allocations: 0.9888 MB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/0.5753, allocations: 314.7 kB / 1.233 GB, free: 204 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.5754, allocations: 28.61 kB / 1.233 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.5764, allocations: 0.5069 MB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.474e-06/0.5764, allocations: 3.938 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003638/0.5801, allocations: 1.225 MB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.5802, allocations: 200.5 kB / 1.235 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009005/0.5811, allocations: 0.6333 MB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.783e-05/0.5812, allocations: 45.7 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.5816, allocations: 424.2 kB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.5819, allocations: 264.2 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.5821, allocations: 170.4 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.5823, allocations: 386.8 kB / 1.237 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/0.5829, allocations: 277.8 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/0.5836, allocations: 375 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.5848, allocations: 0.6307 MB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5849, allocations: 0 / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002196/0.5871, allocations: 0.8683 MB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5871, allocations: 4 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5871, allocations: 0 / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000662/0.5878, allocations: 88.84 kB / 1.239 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.5885, allocations: 171.7 kB / 1.239 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.5908, allocations: 1.522 MB / 1.241 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.5917, allocations: 99.38 kB / 1.241 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.5918, allocations: 43.95 kB / 1.241 GB, free: 7.988 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.0005324/0.5924, allocations: 275.3 kB / 1.241 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.5926, allocations: 86.95 kB / 1.241 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.5952, allocations: 1.093 MB / 1.242 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.5952, allocations: 11.98 kB / 1.242 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5952, allocations: 7.922 kB / 1.242 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5952, allocations: 3.984 kB / 1.242 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.5988, allocations: 1.997 MB / 1.244 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5988, allocations: 0 / 1.244 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.5995, allocations: 151.8 kB / 1.245 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005416/0.6, allocations: 88.72 kB / 1.245 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.6001, allocations: 31.91 kB / 1.245 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.602, allocations: 1.544 MB / 1.246 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.602, allocations: 3.938 kB / 1.246 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.6043, allocations: 1.019 MB / 1.247 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.6047, allocations: 275.7 kB / 1.247 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.6049, allocations: 23.94 kB / 1.247 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.6056, allocations: 69.33 kB / 1.248 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6058, allocations: 68.89 kB / 1.248 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.6059, allocations: 39.97 kB / 1.248 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006306/0.6065, allocations: 471 kB / 1.248 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6065, allocations: 0 / 1.248 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009886/0.6075, allocations: 335.1 kB / 1.248 GB, free: 168 kB / 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.5478/1.155, allocations: 0.6064 MB / 1.249 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002412/1.158, allocations: 0.8516 MB / 1.25 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.158, allocations: 3.469 kB / 1.25 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.159, allocations: 0.5272 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.16, allocations: 273.5 kB / 1.251 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/1.164, allocations: 2.165 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/1.164, allocations: 1.045 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001021/1.165, allocations: 278.8 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/1.166, allocations: 105.7 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.166, allocations: 3.75 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03044/1.196, allocations: 14.93 MB / 1.269 GB, free: 179.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)