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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008603, allocations: 103.7 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.811e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2654, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.797/7.062, allocations: 2.19 GB / 3.082 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/7.063, allocations: 98.25 kB / 3.082 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1315/7.194, allocations: 62.16 MB / 3.143 GB, free: 81.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.456e-06/7.194, allocations: 3.938 kB / 3.143 GB, free: 81.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.641e-05/7.194, allocations: 31.94 kB / 3.143 GB, free: 81.15 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001944/7.196, allocations: 1.035 MB / 3.144 GB, free: 80.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/7.197, allocations: 12.03 kB / 3.144 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/7.197, allocations: 122.8 kB / 3.144 GB, free: 79.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/7.198, allocations: 206.5 kB / 3.144 GB, free: 79.72 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009724/7.199, allocations: 0.6036 MB / 3.145 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/7.199, allocations: 62 kB / 3.145 GB, free: 79.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-05/7.199, allocations: 72 kB / 3.145 GB, free: 78.95 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/7.2, allocations: 0.8326 MB / 3.146 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/7.2, allocations: 0 / 3.146 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/7.2, allocations: 35.95 kB / 3.146 GB, free: 78.04 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/7.2, allocations: 16 kB / 3.146 GB, free: 78.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/7.202, allocations: 1.03 MB / 3.147 GB, free: 76.99 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/7.205, allocations: 2.433 MB / 3.149 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/7.206, allocations: 0.7665 MB / 3.15 GB, free: 73.71 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/7.207, allocations: 271.1 kB / 3.15 GB, free: 73.45 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.192e-05/7.207, allocations: 34.02 kB / 3.15 GB, free: 73.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005718/7.207, allocations: 425.3 kB / 3.151 GB, free: 72.97 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.695e-06/7.207, allocations: 0 / 3.151 GB, free: 72.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001478/7.209, allocations: 0.7032 MB / 3.151 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/7.209, allocations: 248.1 kB / 3.151 GB, free: 71.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/7.21, allocations: 0.5619 MB / 3.152 GB, free: 71.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/7.21, allocations: 37.7 kB / 3.152 GB, free: 71.36 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/7.21, allocations: 364.3 kB / 3.152 GB, free: 70.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/7.21, allocations: 244.5 kB / 3.153 GB, free: 70.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/7.21, allocations: 12 kB / 3.153 GB, free: 70.74 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/7.21, allocations: 378.8 kB / 3.153 GB, free: 70.36 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/7.211, allocations: 213.5 kB / 3.153 GB, free: 70.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/7.211, allocations: 321 kB / 3.154 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/7.211, allocations: 258 kB / 3.154 GB, free: 69.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/7.211, allocations: 0 / 3.154 GB, free: 69.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001286/7.213, allocations: 0.6993 MB / 3.154 GB, free: 68.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/7.213, allocations: 8.062 kB / 3.154 GB, free: 68.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/7.213, allocations: 7.938 kB / 3.154 GB, free: 68.83 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/7.213, allocations: 80.78 kB / 3.155 GB, free: 68.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/7.214, allocations: 143.7 kB / 3.155 GB, free: 68.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/7.215, allocations: 1.528 MB / 3.156 GB, free: 66.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/7.216, allocations: 83.33 kB / 3.156 GB, free: 66.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/7.216, allocations: 27.98 kB / 3.156 GB, free: 66.83 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001626/7.216, allocations: 144.8 kB / 3.156 GB, free: 66.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/7.216, allocations: 75.16 kB / 3.156 GB, free: 66.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/7.218, allocations: 0.9807 MB / 3.157 GB, free: 65.61 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/7.218, allocations: 12 kB / 3.157 GB, free: 65.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/7.218, allocations: 0 / 3.157 GB, free: 65.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/7.218, allocations: 11.97 kB / 3.157 GB, free: 65.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/7.219, allocations: 0.8759 MB / 3.158 GB, free: 64.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/7.219, allocations: 3.984 kB / 3.158 GB, free: 64.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/7.22, allocations: 147.8 kB / 3.158 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/7.22, allocations: 80.78 kB / 3.159 GB, free: 64.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/7.22, allocations: 23.98 kB / 3.159 GB, free: 64.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/7.222, allocations: 1.56 MB / 3.16 GB, free: 62.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/7.222, allocations: 3.953 kB / 3.16 GB, free: 62.71 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/7.223, allocations: 0.8129 MB / 3.161 GB, free: 61.87 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/7.223, allocations: 283.8 kB / 3.161 GB, free: 61.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.195e-05/7.224, allocations: 19.95 kB / 3.161 GB, free: 61.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/7.224, allocations: 67.95 kB / 3.161 GB, free: 61.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/7.224, allocations: 60.69 kB / 3.161 GB, free: 61.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/7.224, allocations: 27.98 kB / 3.161 GB, free: 61.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005018/7.225, allocations: 475.1 kB / 3.162 GB, free: 60.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/7.225, allocations: 3.938 kB / 3.162 GB, free: 60.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009694/7.226, allocations: 323.2 kB / 3.162 GB, free: 60.62 MB / 0.8698 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) * 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.003196/7.229, allocations: 2.261 MB / 3.164 GB, free: 58.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001161/7.23, allocations: 0.7021 MB / 3.165 GB, free: 57.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/7.23, allocations: 0 / 3.165 GB, free: 57.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006345/7.231, allocations: 490.8 kB / 3.165 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/7.232, allocations: 241.7 kB / 3.166 GB, free: 56.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/7.235, allocations: 1.521 MB / 3.167 GB, free: 55.42 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/7.236, allocations: 1.015 MB / 3.168 GB, free: 54.37 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008032/7.236, allocations: 261.9 kB / 3.168 GB, free: 54.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/7.237, allocations: 343.2 kB / 3.169 GB, free: 53.78 MB / 0.8698 GB Notification: Performance of SimCode: time 8.71e-07/7.237, allocations: 0 / 3.169 GB, free: 53.78 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04767/7.285, allocations: 30.8 MB / 3.199 GB, free: 23.24 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/7.285, allocations: 262.9 kB / 3.199 GB, free: 22.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/10.1, allocations: 2.344 kB / 3.199 GB, free: 22.91 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)