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.437/1.437, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 185 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009785/0.0009784, allocations: 91.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8.281 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2417, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004441/0.2462, allocations: 3.499 MB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1644/0.4106, allocations: 127.2 MB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007747/0.4115, allocations: 15.94 kB / 1.028 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.4119, allocations: 75.33 kB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.4133, allocations: 421.6 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.4151, allocations: 0.5951 MB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00112/0.4162, allocations: 0.7324 MB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.417, allocations: 451.1 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.4175, allocations: 298.7 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003935/0.4179, allocations: 292 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.4179, allocations: 20 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.4186, allocations: 247.6 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.4188, allocations: 159.3 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.419, allocations: 177.2 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.4201, allocations: 1.033 MB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.4201, allocations: 0 / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4201, allocations: 0 / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.4201, allocations: 0 / 1.032 GB, free: 8.316 MB / 0.6823 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.002137/0.4223, allocations: 1.116 MB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4223, allocations: 8.031 kB / 1.033 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.4225, allocations: 126.8 kB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.4236, allocations: 210.5 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.4247, allocations: 0.6758 MB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.758e-05/0.4248, allocations: 62 kB / 1.034 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4249, allocations: 72 kB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.4264, allocations: 0.8637 MB / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4265, allocations: 0 / 1.035 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.4266, allocations: 32 kB / 1.035 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.4266, allocations: 23.95 kB / 1.035 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4283, allocations: 1.077 MB / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004036/0.4324, allocations: 2.422 MB / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/0.4346, allocations: 0.8194 MB / 1.039 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.4346, allocations: 36.67 kB / 1.039 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008227/0.4355, allocations: 440.5 kB / 1.04 GB, free: 112 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/0.4355, allocations: 0 / 1.04 GB, free: 112 kB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003042/0.4385, allocations: 1.132 MB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.4387, allocations: 188.6 kB / 1.041 GB, free: 14.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007562/0.4395, allocations: 0.55 MB / 1.042 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/0.4395, allocations: 45.64 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.4399, allocations: 372.3 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.4401, allocations: 252.4 kB / 1.042 GB, free: 13.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.4401, allocations: 8 kB / 1.042 GB, free: 13.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.4403, allocations: 374.8 kB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/0.4408, allocations: 233.2 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.4414, allocations: 334.7 kB / 1.043 GB, free: 12.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.442, allocations: 279.2 kB / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.442, allocations: 0 / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00176/0.4437, allocations: 0.7548 MB / 1.044 GB, free: 11.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4438, allocations: 13.5 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4438, allocations: 0 / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.4444, allocations: 88.7 kB / 1.044 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.445, allocations: 143.8 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.4472, allocations: 1.541 MB / 1.046 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.4478, allocations: 80.08 kB / 1.046 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.4479, allocations: 27.98 kB / 1.046 GB, free: 9.465 MB / 0.698 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.000458/0.4484, allocations: 261.6 kB / 1.046 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4485, allocations: 75.02 kB / 1.046 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.4509, allocations: 1.033 MB / 1.047 GB, free: 8.074 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.451, allocations: 8 kB / 1.047 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.451, allocations: 0 / 1.047 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.451, allocations: 7.984 kB / 1.047 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.4521, allocations: 0.849 MB / 1.048 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.4521, allocations: 0 / 1.048 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.4527, allocations: 155.8 kB / 1.048 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/0.4532, allocations: 80.78 kB / 1.049 GB, free: 6.926 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.4533, allocations: 19.98 kB / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.4552, allocations: 1.579 MB / 1.05 GB, free: 5.191 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4552, allocations: 4.031 kB / 1.05 GB, free: 5.188 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.4571, allocations: 0.8655 MB / 1.051 GB, free: 4.297 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.4576, allocations: 267.8 kB / 1.051 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4577, allocations: 23.95 kB / 1.051 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.4582, allocations: 70.12 kB / 1.051 GB, free: 3.926 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.4584, allocations: 64.97 kB / 1.051 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.4584, allocations: 35.92 kB / 1.051 GB, free: 3.828 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005339/0.459, allocations: 419 kB / 1.052 GB, free: 3.418 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.459, allocations: 0 / 1.052 GB, free: 3.418 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007783/0.4598, allocations: 271.2 kB / 1.052 GB, free: 3.152 MB / 0.698 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.00328/0.4631, allocations: 1.865 MB / 1.054 GB, free: 1.418 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001583/0.4647, allocations: 0.7591 MB / 1.055 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4647, allocations: 0 / 1.055 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008918/0.4656, allocations: 0.5002 MB / 1.055 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.432/0.8976, allocations: 228.9 kB / 1.055 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009377/0.907, allocations: 5.066 MB / 1.06 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.9076, allocations: 1.01 MB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009927/0.9086, allocations: 257 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005186/0.9091, allocations: 346.6 kB / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.9091, allocations: 0 / 1.062 GB, free: 151.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05613/0.9652, allocations: 19.73 MB / 1.081 GB, free: 144.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.9655, allocations: 304.3 kB / 1.081 GB, free: 144.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.72, allocations: 0 / 1.081 GB, free: 144.3 MB / 0.698 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)