Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009343/0.0009344, allocations: 100 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.001092/0.001092, allocations: 177.3 kB / 15.94 MB, free: 228 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.639/1.639, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.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.0005539/0.0005539, allocations: 12 kB / 0.6241 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.5717, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004951/0.5767, allocations: 3.498 MB / 0.7314 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.7375, allocations: 127.2 MB / 0.8556 GB, free: 8.359 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005812/0.7381, allocations: 19.88 kB / 0.8556 GB, free: 8.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.7385, allocations: 63.41 kB / 0.8557 GB, free: 8.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.7397, allocations: 417.7 kB / 0.8561 GB, free: 7.871 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.7413, allocations: 0.5947 MB / 0.8567 GB, free: 7.281 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.7428, allocations: 0.7363 MB / 0.8574 GB, free: 6.539 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.7436, allocations: 459 kB / 0.8578 GB, free: 6.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.7443, allocations: 298.7 kB / 0.8581 GB, free: 5.797 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.7448, allocations: 293.5 kB / 0.8584 GB, free: 5.512 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.133e-05/0.7449, allocations: 20 kB / 0.8584 GB, free: 5.492 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008893/0.7458, allocations: 235.8 kB / 0.8586 GB, free: 5.262 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.746, allocations: 175.2 kB / 0.8588 GB, free: 5.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.7462, allocations: 181.1 kB / 0.859 GB, free: 4.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.7477, allocations: 1.021 MB / 0.86 GB, free: 3.883 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7477, allocations: 0 / 0.86 GB, free: 3.883 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.845e-06/0.7477, allocations: 0 / 0.86 GB, free: 3.883 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.7477, allocations: 0 / 0.86 GB, free: 3.883 MB / 0.67 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.002185/0.7499, allocations: 1.115 MB / 0.8611 GB, free: 2.715 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.75, allocations: 8.031 kB / 0.8611 GB, free: 2.707 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.7511, allocations: 210.5 kB / 0.8613 GB, free: 2.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7521, allocations: 0.672 MB / 0.8619 GB, free: 1.789 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.363e-05/0.7522, allocations: 65.98 kB / 0.862 GB, free: 1.723 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-05/0.7523, allocations: 72 kB / 0.8621 GB, free: 1.652 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.7538, allocations: 0.8481 MB / 0.8629 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.7538, allocations: 7.938 kB / 0.8629 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.7539, allocations: 36 kB / 0.8629 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.7539, allocations: 19.95 kB / 0.8629 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.7557, allocations: 1.081 MB / 0.864 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003945/0.7596, allocations: 2.421 MB / 0.8664 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.7618, allocations: 0.8233 MB / 0.8672 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.76e-05/0.7619, allocations: 28.67 kB / 0.8672 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008584/0.7628, allocations: 447.2 kB / 0.8676 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=73): time 2.574e-06/0.7628, allocations: 0 / 0.8676 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of matching and sorting (n=73): time 0.0029/0.7657, allocations: 1.125 MB / 0.8687 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7658, allocations: 192.6 kB / 0.8689 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.7666, allocations: 0.5578 MB / 0.8694 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.7666, allocations: 37.7 kB / 0.8695 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.767, allocations: 372.3 kB / 0.8698 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.7672, allocations: 236.5 kB / 0.8701 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.7672, allocations: 16 kB / 0.8701 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.7674, allocations: 374.8 kB / 0.8704 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.7678, allocations: 237.1 kB / 0.8707 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.7684, allocations: 330.8 kB / 0.871 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.769, allocations: 271.1 kB / 0.8712 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.769, allocations: 3.984 kB / 0.8712 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001759/0.7708, allocations: 0.7548 MB / 0.872 GB, free: 7.211 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7708, allocations: 4 kB / 0.872 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7708, allocations: 4 kB / 0.872 GB, free: 7.203 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/0.7714, allocations: 88.84 kB / 0.8721 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.772, allocations: 139.8 kB / 0.8722 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.7747, allocations: 1.547 MB / 0.8737 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.7754, allocations: 87.5 kB / 0.8738 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.7755, allocations: 27.97 kB / 0.8738 GB, free: 5.176 MB / 0.6856 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.0005524/0.776, allocations: 247.9 kB / 0.8741 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.7762, allocations: 79.09 kB / 0.8741 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.7785, allocations: 1.044 MB / 0.8752 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.7785, allocations: 8 kB / 0.8752 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.7785, allocations: 3.938 kB / 0.8752 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.7785, allocations: 3.984 kB / 0.8752 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7795, allocations: 0.8529 MB / 0.876 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.7796, allocations: 0 / 0.876 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.7802, allocations: 147.8 kB / 0.8761 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000529/0.7807, allocations: 80.78 kB / 0.8762 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.7808, allocations: 31.91 kB / 0.8763 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.7827, allocations: 1.575 MB / 0.8778 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7827, allocations: 0 / 0.8778 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.7845, allocations: 0.8694 MB / 0.8786 GB, free: 4 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.785, allocations: 271.8 kB / 0.8789 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.7851, allocations: 16 kB / 0.8789 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000539/0.7856, allocations: 76.77 kB / 0.879 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7858, allocations: 56.92 kB / 0.879 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.684e-05/0.7858, allocations: 31.97 kB / 0.8791 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000526/0.7864, allocations: 419.1 kB / 0.8795 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7864, allocations: 0 / 0.8795 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008629/0.7872, allocations: 267.3 kB / 0.8797 GB, free: 14.87 MB / 0.7012 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.001236/0.7885, allocations: 0.5536 MB / 0.8803 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.7902, allocations: 0.7474 MB / 0.881 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7902, allocations: 4 kB / 0.881 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008938/0.7911, allocations: 0.504 MB / 0.8815 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.7921, allocations: 235.6 kB / 0.8817 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.7967, allocations: 2.041 MB / 0.8837 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/0.7976, allocations: 1.019 MB / 0.8847 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009523/0.7985, allocations: 254 kB / 0.8849 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.7988, allocations: 99.38 kB / 0.885 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of SimCode: time 1.193e-06/0.7989, allocations: 0 / 0.885 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of Templates: time 0.02531/0.8242, allocations: 12.77 MB / 0.8975 GB, free: 12.94 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: