Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.418/2.418, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 195.4 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.727/1.727, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 107.7 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 54.25 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2817, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00595/0.2877, allocations: 4.143 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1374/0.4251, allocations: 148.2 MB / 1.367 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.426, allocations: 19.88 kB / 1.367 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.4267, allocations: 131 kB / 1.367 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.4286, allocations: 397.8 kB / 1.367 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.4306, allocations: 0.6878 MB / 1.368 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.4319, allocations: 1.117 MB / 1.369 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009973/0.433, allocations: 0.6702 MB / 1.37 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006245/0.4336, allocations: 398.4 kB / 1.37 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.4342, allocations: 457.8 kB / 1.371 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.4344, allocations: 60 kB / 1.371 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009112/0.4353, allocations: 403.6 kB / 1.371 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.4356, allocations: 239 kB / 1.371 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.4361, allocations: 489.1 kB / 1.372 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.4375, allocations: 1.472 MB / 1.373 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4376, allocations: 0 / 1.373 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4376, allocations: 8 kB / 1.373 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.4376, allocations: 0 / 1.373 GB, free: 5.793 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002145/0.4397, allocations: 1.377 MB / 1.375 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.4398, allocations: 11.98 kB / 1.375 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4408, allocations: 211.4 kB / 1.375 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009414/0.4418, allocations: 0.7227 MB / 1.375 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.4418, allocations: 66 kB / 1.376 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.4419, allocations: 88 kB / 1.376 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4434, allocations: 0.941 MB / 1.377 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4434, allocations: 7.875 kB / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.4435, allocations: 36 kB / 1.377 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.4435, allocations: 20 kB / 1.377 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.4452, allocations: 1.136 MB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.4489, allocations: 2.482 MB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.4511, allocations: 0.8875 MB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.4517, allocations: 278.7 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.731e-05/0.4518, allocations: 40.62 kB / 1.381 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008697/0.4526, allocations: 427.3 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.457e-06/0.4527, allocations: 0 / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002996/0.4557, allocations: 1.096 MB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.4558, allocations: 192.6 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/0.4565, allocations: 0.6017 MB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.4565, allocations: 41.69 kB / 1.384 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.4568, allocations: 392.2 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.457, allocations: 248.5 kB / 1.384 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.4572, allocations: 150.5 kB / 1.384 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4574, allocations: 378.7 kB / 1.385 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.4579, allocations: 249.9 kB / 1.385 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.4584, allocations: 335.1 kB / 1.385 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.4595, allocations: 0.5604 MB / 1.386 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4595, allocations: 4.062 kB / 1.386 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001859/0.4614, allocations: 0.7941 MB / 1.387 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4614, allocations: 8.875 kB / 1.387 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4615, allocations: 4 kB / 1.387 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.4621, allocations: 80.77 kB / 1.387 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.4627, allocations: 147.8 kB / 1.387 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.4648, allocations: 1.516 MB / 1.388 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/0.4656, allocations: 91.33 kB / 1.388 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/0.4657, allocations: 31.97 kB / 1.388 GB, free: 5.676 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0005238/0.4662, allocations: 255.4 kB / 1.389 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/0.4665, allocations: 79 kB / 1.389 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.4691, allocations: 1.002 MB / 1.39 GB, free: 4.316 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.4691, allocations: 12.03 kB / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4691, allocations: 0 / 1.39 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4691, allocations: 7.922 kB / 1.39 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.4727, allocations: 1.903 MB / 1.392 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4727, allocations: 0 / 1.392 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.4734, allocations: 151.7 kB / 1.392 GB, free: 2.188 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/0.4739, allocations: 76.78 kB / 1.392 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.474, allocations: 31.97 kB / 1.392 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.4759, allocations: 1.528 MB / 1.393 GB, free: 420 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4759, allocations: 4.031 kB / 1.393 GB, free: 416 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.4794, allocations: 1.936 MB / 1.395 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.4799, allocations: 259.8 kB / 1.395 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.4801, allocations: 19.98 kB / 1.395 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.4807, allocations: 53.36 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.4809, allocations: 64.91 kB / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-05/0.481, allocations: 27.98 kB / 1.396 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006091/0.4816, allocations: 439 kB / 1.396 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4816, allocations: 0 / 1.396 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001057/0.4827, allocations: 311.1 kB / 1.396 GB, free: 13.25 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001474/0.4842, allocations: 0.5988 MB / 1.397 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.4859, allocations: 0.7648 MB / 1.398 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4859, allocations: 8.172 kB / 1.398 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.4869, allocations: 0.4885 MB / 1.398 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.4882, allocations: 265.6 kB / 1.398 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004485/0.4927, allocations: 2.577 MB / 1.401 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.4933, allocations: 1.042 MB / 1.402 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009381/0.4943, allocations: 262.2 kB / 1.402 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.4946, allocations: 103.4 kB / 1.402 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/0.4946, allocations: 0 / 1.402 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of Templates: time 0.02829/0.5229, allocations: 13.9 MB / 1.416 GB, free: 9.488 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)