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.46/1.46, allocations: 251.9 MB / 266.8 MB, free: 10.98 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.001318/0.001318, allocations: 179.9 kB / 326.5 MB, free: 2.211 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.142/2.142, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.00111/0.00111, allocations: 98.09 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.755/6.048, allocations: 2.19 GB / 3.09 GB, free: 29.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/6.049, allocations: 101.4 kB / 3.09 GB, free: 29.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7507/6.8, allocations: 62.47 MB / 3.151 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.919e-06/6.8, allocations: 3.938 kB / 3.151 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001558/6.8, allocations: 19.81 kB / 3.151 GB, free: 312.6 MB / 0.8855 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.003896/6.804, allocations: 1.15 MB / 3.153 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.252e-05/6.804, allocations: 10.41 kB / 3.153 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005837/6.804, allocations: 125.5 kB / 3.153 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/6.806, allocations: 206.5 kB / 3.153 GB, free: 311.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/6.808, allocations: 0.6131 MB / 3.153 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.743e-05/6.808, allocations: 57.59 kB / 3.154 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/6.808, allocations: 80.08 kB / 3.154 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/6.81, allocations: 0.8624 MB / 3.154 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/6.81, allocations: 3.844 kB / 3.154 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/6.81, allocations: 32.81 kB / 3.154 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/6.81, allocations: 17.19 kB / 3.155 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/6.812, allocations: 1.085 MB / 3.156 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00464/6.817, allocations: 2.413 MB / 3.158 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/6.819, allocations: 0.8312 MB / 3.159 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/6.82, allocations: 28.11 kB / 3.159 GB, free: 310.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/6.821, allocations: 446.5 kB / 3.159 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.887e-06/6.821, allocations: 0 / 3.159 GB, free: 310.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.003949/6.825, allocations: 1.141 MB / 3.16 GB, free: 310.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/6.825, allocations: 245.8 kB / 3.161 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/6.826, allocations: 0.5746 MB / 3.161 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/6.827, allocations: 40.83 kB / 3.161 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/6.827, allocations: 360.6 kB / 3.161 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/6.828, allocations: 249.9 kB / 3.162 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/6.828, allocations: 9.125 kB / 3.162 GB, free: 309.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002681/6.828, allocations: 378.4 kB / 3.162 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/6.829, allocations: 237.4 kB / 3.162 GB, free: 309.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/6.829, allocations: 335.2 kB / 3.163 GB, free: 309 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/6.83, allocations: 279.3 kB / 3.163 GB, free: 309 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/6.83, allocations: 3.031 kB / 3.163 GB, free: 309 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002243/6.832, allocations: 0.7532 MB / 3.164 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/6.832, allocations: 3.812 kB / 3.164 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/6.832, allocations: 0 / 3.164 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/6.833, allocations: 87.95 kB / 3.164 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/6.834, allocations: 144 kB / 3.164 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/6.836, allocations: 1.551 MB / 3.165 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/6.837, allocations: 75.16 kB / 3.165 GB, free: 307.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/6.837, allocations: 34.08 kB / 3.165 GB, free: 307.6 MB / 0.8855 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 () * Number of clocked 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.0007414/6.838, allocations: 250.7 kB / 3.166 GB, free: 307.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/6.838, allocations: 86.44 kB / 3.166 GB, free: 307.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/6.841, allocations: 1.043 MB / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/6.841, allocations: 11.06 kB / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/6.841, allocations: 7.953 kB / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/6.841, allocations: 3.188 kB / 3.167 GB, free: 307.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/6.842, allocations: 0.8817 MB / 3.168 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/6.842, allocations: 0 / 3.168 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/6.843, allocations: 146.7 kB / 3.168 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/6.843, allocations: 81.92 kB / 3.168 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-05/6.843, allocations: 24.55 kB / 3.168 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/6.845, allocations: 1.576 MB / 3.169 GB, free: 305.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/6.845, allocations: 0 / 3.169 GB, free: 305.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/6.847, allocations: 0.8699 MB / 3.17 GB, free: 305.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/6.848, allocations: 291.5 kB / 3.171 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/6.848, allocations: 20.09 kB / 3.171 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/6.849, allocations: 71 kB / 3.171 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/6.849, allocations: 59.64 kB / 3.171 GB, free: 305.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/6.849, allocations: 31.42 kB / 3.171 GB, free: 305 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008007/6.85, allocations: 473.1 kB / 3.171 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/6.85, allocations: 0 / 3.171 GB, free: 304.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001468/6.851, allocations: 331.6 kB / 3.172 GB, free: 304.8 MB / 0.8855 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.00461/6.856, allocations: 2.351 MB / 3.174 GB, free: 303.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001928/6.858, allocations: 0.7516 MB / 3.175 GB, free: 303.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/6.858, allocations: 6.906 kB / 3.175 GB, free: 303.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/6.859, allocations: 0.4976 MB / 3.175 GB, free: 302.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/6.86, allocations: 236.7 kB / 3.175 GB, free: 302.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/6.871, allocations: 4.998 MB / 3.18 GB, free: 299.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/6.872, allocations: 1.016 MB / 3.181 GB, free: 298.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001213/6.873, allocations: 259.8 kB / 3.181 GB, free: 298.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/6.874, allocations: 337.7 kB / 3.182 GB, free: 298.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.763e-06/6.874, allocations: 0 / 3.182 GB, free: 298.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/6.939, allocations: 29.1 MB / 3.21 GB, free: 270.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/6.94, allocations: 301 kB / 3.21 GB, free: 269.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/10.28, allocations: 0 / 3.21 GB, free: 269.8 MB / 0.8855 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)