Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.328/2.328, allocations: 248.7 MB / 256.2 MB, free: 7.008 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.001508/0.001507, allocations: 184.5 kB / 315.4 MB, free: 4.008 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.094/2.094, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 95.84 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.286e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2616, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.398/7.66, allocations: 2.19 GB / 3.074 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/7.66, allocations: 89.77 kB / 3.074 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2422/7.903, allocations: 61.35 MB / 3.134 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.494e-06/7.903, allocations: 0 / 3.134 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.991e-05/7.903, allocations: 27.94 kB / 3.134 GB, free: 125.2 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.002336/7.905, allocations: 1.031 MB / 3.135 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/7.905, allocations: 12.03 kB / 3.135 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/7.907, allocations: 206.5 kB / 3.136 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/7.908, allocations: 0.6037 MB / 3.136 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/7.909, allocations: 32 kB / 3.136 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/7.909, allocations: 47.94 kB / 3.136 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002208/7.911, allocations: 0.9757 MB / 3.137 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/7.913, allocations: 0.7271 MB / 3.138 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/7.913, allocations: 4 kB / 3.138 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/7.913, allocations: 0 / 3.138 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/7.913, allocations: 20 kB / 3.138 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005806/7.919, allocations: 2.263 MB / 3.14 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/7.922, allocations: 0.728 MB / 3.141 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/7.922, allocations: 247.2 kB / 3.141 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/7.923, allocations: 36.8 kB / 3.141 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/7.923, allocations: 400.9 kB / 3.141 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.378e-06/7.923, allocations: 0 / 3.141 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002624/7.926, allocations: 0.6719 MB / 3.142 GB, free: 117 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/7.926, allocations: 244 kB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009447/7.927, allocations: 498.3 kB / 3.143 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/7.927, allocations: 29.7 kB / 3.143 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/7.928, allocations: 376.2 kB / 3.143 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/7.928, allocations: 232.5 kB / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/7.928, allocations: 0 / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000114/7.928, allocations: 374.8 kB / 3.144 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/7.929, allocations: 193.5 kB / 3.144 GB, free: 115 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/7.929, allocations: 303.5 kB / 3.144 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/7.93, allocations: 248.4 kB / 3.145 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/7.93, allocations: 0 / 3.145 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00237/7.932, allocations: 0.6603 MB / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/7.932, allocations: 8 kB / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/7.932, allocations: 0 / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/7.933, allocations: 80.84 kB / 3.145 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/7.934, allocations: 139.8 kB / 3.145 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/7.937, allocations: 1.469 MB / 3.147 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/7.938, allocations: 59.5 kB / 3.147 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/7.938, allocations: 28.05 kB / 3.147 GB, free: 111.9 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.000245/7.938, allocations: 117 kB / 3.147 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00232/7.941, allocations: 0.6642 MB / 3.148 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/7.941, allocations: 75.14 kB / 3.148 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/7.944, allocations: 0.9299 MB / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/7.944, allocations: 12 kB / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/7.944, allocations: 0 / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/7.944, allocations: 3.984 kB / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/7.946, allocations: 0.7597 MB / 3.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/7.946, allocations: 0 / 3.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/7.947, allocations: 147.8 kB / 3.15 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008415/7.948, allocations: 80.78 kB / 3.15 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/7.948, allocations: 19.98 kB / 3.15 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/7.95, allocations: 1.497 MB / 3.151 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/7.95, allocations: 0 / 3.151 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/7.953, allocations: 0.77 MB / 3.152 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/7.954, allocations: 283.8 kB / 3.152 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/7.954, allocations: 4 kB / 3.152 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/7.955, allocations: 51.94 kB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/7.956, allocations: 64.69 kB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/7.956, allocations: 27.98 kB / 3.152 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007445/7.956, allocations: 398.9 kB / 3.153 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.91e-07/7.956, allocations: 7.875 kB / 3.153 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001579/7.958, allocations: 295.2 kB / 3.153 GB, free: 105.5 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.004928/7.963, allocations: 2.268 MB / 3.155 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001921/7.965, allocations: 0.6551 MB / 3.156 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/7.965, allocations: 0 / 3.156 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/7.966, allocations: 460.7 kB / 3.156 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/7.968, allocations: 202.8 kB / 3.156 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006363/7.975, allocations: 1.447 MB / 3.158 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/7.975, allocations: 1.023 MB / 3.159 GB, free: 99.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001457/7.977, allocations: 261.6 kB / 3.159 GB, free: 99.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007054/7.977, allocations: 343.3 kB / 3.159 GB, free: 98.81 MB / 0.8698 GB Notification: Performance of SimCode: time 3.106e-06/7.977, allocations: 0 / 3.159 GB, free: 98.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08737/8.065, allocations: 23.02 MB / 3.182 GB, free: 75.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/8.065, allocations: 214.2 kB / 3.182 GB, free: 75.62 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/11.6, allocations: 4 kB / 3.182 GB, free: 75.61 MB / 0.8698 GB