Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.2 MB / 303.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.001221, allocations: 179.2 kB / 371.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6305 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000911/0.000911, allocations: 92.41 kB / 0.7439 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004852, allocations: 10.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2854, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.096/5.381, allocations: 2.074 GB / 3.054 GB, free: 242.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004473/5.382, allocations: 95.95 kB / 3.054 GB, free: 242.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1753/5.557, allocations: 82.53 MB / 3.135 GB, free: 159.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.587e-06/5.557, allocations: 4 kB / 3.135 GB, free: 159.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.243e-05/5.557, allocations: 28 kB / 3.135 GB, free: 159.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.002464/5.56, allocations: 1.427 MB / 3.136 GB, free: 157.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/5.56, allocations: 12.03 kB / 3.136 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/5.56, allocations: 181.6 kB / 3.136 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/5.561, allocations: 234 kB / 3.136 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/5.562, allocations: 0.7444 MB / 3.137 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/5.562, allocations: 120.1 kB / 3.137 GB, free: 156.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/5.562, allocations: 112 kB / 3.137 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/5.564, allocations: 1.241 MB / 3.139 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/5.564, allocations: 3.938 kB / 3.139 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/5.564, allocations: 52 kB / 3.139 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/5.564, allocations: 31.95 kB / 3.139 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/5.566, allocations: 1.367 MB / 3.14 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004963/5.571, allocations: 3.356 MB / 3.143 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/5.573, allocations: 0.9091 MB / 3.144 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.512e-05/5.573, allocations: 48.92 kB / 3.144 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008309/5.574, allocations: 0.5397 MB / 3.145 GB, free: 148.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 4.398e-06/5.574, allocations: 96 / 3.145 GB, free: 148.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.003214/5.577, allocations: 1.401 MB / 3.146 GB, free: 147.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/5.577, allocations: 240.3 kB / 3.146 GB, free: 146.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/5.578, allocations: 0.6993 MB / 3.147 GB, free: 146.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/5.578, allocations: 53.64 kB / 3.147 GB, free: 146 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/5.578, allocations: 0.4999 MB / 3.148 GB, free: 145.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/5.579, allocations: 307.5 kB / 3.148 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/5.579, allocations: 20 kB / 3.148 GB, free: 145.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/5.579, allocations: 345.9 kB / 3.148 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/5.579, allocations: 309.8 kB / 3.148 GB, free: 144.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/5.58, allocations: 432.2 kB / 3.149 GB, free: 144.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/5.58, allocations: 382.8 kB / 3.149 GB, free: 143.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/5.58, allocations: 3.938 kB / 3.149 GB, free: 143.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00195/5.582, allocations: 0.9697 MB / 3.15 GB, free: 142.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/5.582, allocations: 11.95 kB / 3.15 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/5.582, allocations: 0 / 3.15 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006427/5.583, allocations: 80.84 kB / 3.15 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/5.584, allocations: 191.7 kB / 3.15 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/5.586, allocations: 1.551 MB / 3.152 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000842/5.587, allocations: 99.25 kB / 3.152 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/5.587, allocations: 35.97 kB / 3.152 GB, free: 140.6 MB / 0.948 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 (102): * Single equations (assignments): 101 * 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.0006957/5.588, allocations: 301.6 kB / 3.152 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/5.588, allocations: 98.73 kB / 3.152 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/5.59, allocations: 1.302 MB / 3.154 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/5.59, allocations: 12 kB / 3.154 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/5.59, allocations: 3.984 kB / 3.154 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/5.59, allocations: 7.984 kB / 3.154 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/5.595, allocations: 2.466 MB / 3.156 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/5.595, allocations: 0 / 3.156 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/5.595, allocations: 187.7 kB / 3.156 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/5.596, allocations: 84.77 kB / 3.156 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.469e-05/5.596, allocations: 35.97 kB / 3.156 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/5.597, allocations: 1.563 MB / 3.158 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/5.598, allocations: 7.938 kB / 3.158 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/5.6, allocations: 1.113 MB / 3.159 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006806/5.6, allocations: 351.3 kB / 3.159 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/5.601, allocations: 27.98 kB / 3.159 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008757/5.601, allocations: 71.95 kB / 3.16 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/5.602, allocations: 76.89 kB / 3.16 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/5.602, allocations: 39.97 kB / 3.16 GB, free: 132.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009464/5.603, allocations: 0.581 MB / 3.16 GB, free: 132.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/5.603, allocations: 0 / 3.16 GB, free: 132.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001595/5.604, allocations: 406.9 kB / 3.161 GB, free: 131.7 MB / 0.948 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.004367/5.609, allocations: 2.595 MB / 3.163 GB, free: 129.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001857/5.611, allocations: 0.9328 MB / 3.164 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/5.611, allocations: 4 kB / 3.164 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009689/5.612, allocations: 0.5784 MB / 3.165 GB, free: 127.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/5.613, allocations: 258.6 kB / 3.165 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0073/5.62, allocations: 3.827 MB / 3.169 GB, free: 123.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009138/5.621, allocations: 1.15 MB / 3.17 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001156/5.622, allocations: 307.5 kB / 3.17 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/5.623, allocations: 495.2 kB / 3.17 GB, free: 121.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/5.623, allocations: 0 / 3.17 GB, free: 121.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/5.679, allocations: 33.39 MB / 3.203 GB, free: 88.44 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/5.679, allocations: 290.5 kB / 3.203 GB, free: 88.08 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/9, allocations: 0 / 3.203 GB, free: 88.08 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)