Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008667/0.000867, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009051/0.0009052, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.54/1.54, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007103/0.0007103, allocations: 18.28 kB / 0.6735 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1972, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004141/0.2014, allocations: 3.488 MB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4822/0.6836, allocations: 127.2 MB / 0.9147 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.684, allocations: 19.62 kB / 0.9147 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.6843, allocations: 66.98 kB / 0.9148 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.6854, allocations: 428.4 kB / 0.9152 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.6868, allocations: 0.5828 MB / 0.9158 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.6876, allocations: 0.7428 MB / 0.9165 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005976/0.6882, allocations: 452.2 kB / 0.9169 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.6886, allocations: 295.5 kB / 0.9172 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.689, allocations: 289.1 kB / 0.9175 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.689, allocations: 22.25 kB / 0.9175 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000524/0.6896, allocations: 245.2 kB / 0.9178 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.6898, allocations: 162.8 kB / 0.9179 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.6901, allocations: 178.9 kB / 0.9181 GB, free: 21.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.6913, allocations: 1.034 MB / 0.9191 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.6913, allocations: 0 / 0.9191 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6913, allocations: 0.6094 kB / 0.9191 GB, free: 21.46 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.6913, allocations: 0 / 0.9191 GB, free: 21.46 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001717/0.693, allocations: 1.112 MB / 0.9202 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.693, allocations: 11.77 kB / 0.9202 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009836/0.694, allocations: 207.4 kB / 0.9204 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.695, allocations: 0.6743 MB / 0.921 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.695, allocations: 58.72 kB / 0.9211 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.6951, allocations: 74.22 kB / 0.9212 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.6965, allocations: 0.8537 MB / 0.922 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6965, allocations: 6.688 kB / 0.922 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.6966, allocations: 33.52 kB / 0.922 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.6966, allocations: 18.06 kB / 0.9221 GB, free: 20.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.6982, allocations: 1.085 MB / 0.9231 GB, free: 20.26 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.7017, allocations: 2.409 MB / 0.9255 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.7036, allocations: 0.8261 MB / 0.9263 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.115e-05/0.7037, allocations: 31.56 kB / 0.9263 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007728/0.7045, allocations: 444 kB / 0.9267 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 3.125e-06/0.7045, allocations: 0 / 0.9267 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.00265/0.7072, allocations: 1.128 MB / 0.9278 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.446e-05/0.7073, allocations: 198.8 kB / 0.928 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.7079, allocations: 0.5598 MB / 0.9286 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.708, allocations: 38.7 kB / 0.9286 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.7082, allocations: 369.7 kB / 0.929 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.7084, allocations: 240.2 kB / 0.9292 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.7084, allocations: 10.53 kB / 0.9292 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7086, allocations: 385.4 kB / 0.9296 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/0.709, allocations: 226.3 kB / 0.9298 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.7096, allocations: 332.3 kB / 0.9301 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000645/0.7103, allocations: 280.2 kB / 0.9304 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7103, allocations: 0 / 0.9304 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001756/0.712, allocations: 0.7469 MB / 0.9311 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7121, allocations: 9.484 kB / 0.9311 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7121, allocations: 0 / 0.9311 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/0.7126, allocations: 92.23 kB / 0.9312 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.7132, allocations: 144.2 kB / 0.9313 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.7151, allocations: 1.544 MB / 0.9328 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.7157, allocations: 85.95 kB / 0.9329 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.7158, allocations: 34.89 kB / 0.9329 GB, free: 16.63 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004192/0.7162, allocations: 246.6 kB / 0.9332 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.7163, allocations: 78.77 kB / 0.9333 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.7186, allocations: 1.036 MB / 0.9343 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.7186, allocations: 8.656 kB / 0.9343 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7186, allocations: 0.5312 kB / 0.9343 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.7186, allocations: 4.547 kB / 0.9343 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.7197, allocations: 0.8544 MB / 0.9351 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.7198, allocations: 10.91 kB / 0.9351 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/0.7204, allocations: 149.5 kB / 0.9353 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005134/0.721, allocations: 85.52 kB / 0.9354 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.721, allocations: 20.62 kB / 0.9354 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.7228, allocations: 1.57 MB / 0.9369 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7228, allocations: 4.062 kB / 0.9369 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.7245, allocations: 0.8652 MB / 0.9378 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.7249, allocations: 280.5 kB / 0.938 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.725, allocations: 17.88 kB / 0.938 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.7255, allocations: 74.84 kB / 0.9381 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7257, allocations: 64.52 kB / 0.9382 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.7257, allocations: 33 kB / 0.9382 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005064/0.7262, allocations: 416.1 kB / 0.9386 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7263, allocations: 1.125 kB / 0.9386 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007818/0.727, allocations: 265.8 kB / 0.9389 GB, free: 14.34 MB / 0.7325 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.conTimMin.tNext,weaDat.conTim.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001097/0.7281, allocations: 0.554 MB / 0.9394 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.7296, allocations: 0.7516 MB / 0.9401 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7296, allocations: 1.094 kB / 0.9401 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/0.7304, allocations: 0.4974 MB / 0.9406 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.7314, allocations: 231 kB / 0.9408 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.7348, allocations: 2.042 MB / 0.9428 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.7354, allocations: 1.015 MB / 0.9438 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008068/0.7362, allocations: 260.1 kB / 0.9441 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.7365, allocations: 97.06 kB / 0.9442 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.7365, allocations: 0 / 0.9442 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.0198/0.7563, allocations: 12.78 MB / 0.9566 GB, free: 8.738 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: