Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001063/0.001063, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001069/0.001069, allocations: 193 kB / 16.25 MB, free: 6.617 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 298.8 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9302/0.9302, allocations: 169.2 MB / 0.4978 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 93.56 kB / 0.5947 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 86.98 MB / 0.6796 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005774/0.1581, allocations: 4.388 MB / 0.6839 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4321/0.5903, allocations: 148.3 MB / 0.8288 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008242/0.5911, allocations: 19.41 kB / 0.8288 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007408/0.5919, allocations: 142 kB / 0.8289 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.5944, allocations: 451.3 kB / 0.8294 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5964, allocations: 0.7464 MB / 0.8301 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.598, allocations: 1.322 MB / 0.8314 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.5992, allocations: 0.6951 MB / 0.8321 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009192/0.6002, allocations: 0.4926 MB / 0.8325 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009685/0.6011, allocations: 0.5206 MB / 0.833 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003597/0.6015, allocations: 126 kB / 0.8332 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.6028, allocations: 473.6 kB / 0.8336 GB, free: 0 / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.6033, allocations: 311.5 kB / 0.8339 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007637/0.6041, allocations: 0.5884 MB / 0.8345 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.6061, allocations: 1.66 MB / 0.8361 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6061, allocations: 0 / 0.8361 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6061, allocations: 0 / 0.8361 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.6061, allocations: 0 / 0.8361 GB, free: 15.53 MB / 0.5762 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.002733/0.6088, allocations: 1.467 MB / 0.8375 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6089, allocations: 8.531 kB / 0.8376 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.6101, allocations: 225.4 kB / 0.8378 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009643/0.6111, allocations: 0.7538 MB / 0.8385 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.6111, allocations: 70.42 kB / 0.8386 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6113, allocations: 95.23 kB / 0.8387 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.6129, allocations: 1.015 MB / 0.8397 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.613, allocations: 0 / 0.8397 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/0.6131, allocations: 41.19 kB / 0.8397 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.6131, allocations: 23.12 kB / 0.8397 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.615, allocations: 1.174 MB / 0.8409 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.6193, allocations: 2.622 MB / 0.8434 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.6217, allocations: 0.9713 MB / 0.8444 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005713/0.6223, allocations: 311.6 kB / 0.8447 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.344e-05/0.6224, allocations: 29.98 kB / 0.8447 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009335/0.6233, allocations: 0.4973 MB / 0.8452 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/0.6233, allocations: 0 / 0.8452 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003403/0.6267, allocations: 1.219 MB / 0.8464 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6269, allocations: 192.4 kB / 0.8466 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009698/0.6279, allocations: 0.6445 MB / 0.8472 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.698e-05/0.628, allocations: 44.7 kB / 0.8472 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.6283, allocations: 429.3 kB / 0.8476 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.6286, allocations: 261 kB / 0.8479 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.6289, allocations: 166.2 kB / 0.848 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6291, allocations: 384.6 kB / 0.8484 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/0.6297, allocations: 278.5 kB / 0.8487 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/0.6304, allocations: 373.3 kB / 0.849 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.6317, allocations: 0.6222 MB / 0.8496 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6317, allocations: 0 / 0.8496 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002149/0.6339, allocations: 0.868 MB / 0.8505 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6339, allocations: 15.06 kB / 0.8505 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.634, allocations: 2.656 kB / 0.8505 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/0.6346, allocations: 83.08 kB / 0.8506 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.6354, allocations: 170.7 kB / 0.8507 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.6376, allocations: 1.622 MB / 0.8523 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.6385, allocations: 96.88 kB / 0.8524 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.6386, allocations: 39.16 kB / 0.8525 GB, free: 5.957 MB / 0.5762 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.0006064/0.6392, allocations: 285.5 kB / 0.8527 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.6395, allocations: 83.16 kB / 0.8528 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.6423, allocations: 1.093 MB / 0.8539 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.6423, allocations: 10.62 kB / 0.8539 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6423, allocations: 0 / 0.8539 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.6423, allocations: 3.984 kB / 0.8539 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.6462, allocations: 2.018 MB / 0.8559 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.6462, allocations: 4.062 kB / 0.8559 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/0.6469, allocations: 151.3 kB / 0.856 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.6474, allocations: 75.19 kB / 0.8561 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.322e-05/0.6474, allocations: 23.58 kB / 0.8561 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.6496, allocations: 1.659 MB / 0.8577 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6496, allocations: 3.938 kB / 0.8577 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.6523, allocations: 1.014 MB / 0.8587 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.653, allocations: 278.3 kB / 0.859 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.6533, allocations: 24.31 kB / 0.859 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/0.6541, allocations: 65.39 kB / 0.8591 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.6543, allocations: 69.23 kB / 0.8591 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/0.6544, allocations: 35.05 kB / 0.8592 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008427/0.6552, allocations: 465.9 kB / 0.8596 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6552, allocations: 4 kB / 0.8596 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001273/0.6565, allocations: 325.6 kB / 0.8599 GB, free: 0.7734 MB / 0.5762 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.001929/0.6585, allocations: 0.6189 MB / 0.8605 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002639/0.6611, allocations: 1.058 MB / 0.8616 GB, free: 16 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6611, allocations: 0 / 0.8616 GB, free: 16 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.6622, allocations: 0.5276 MB / 0.8621 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.6636, allocations: 290.7 kB / 0.8624 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.6679, allocations: 2.301 MB / 0.8646 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.6685, allocations: 1.033 MB / 0.8656 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009057/0.6694, allocations: 274.2 kB / 0.8659 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.6697, allocations: 104.6 kB / 0.866 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.6697, allocations: 4 kB / 0.866 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of Templates: time 0.02473/0.6944, allocations: 15.05 MB / 0.8807 GB, free: 1.168 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)