Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.00141/0.00141, allocations: 184.8 kB / 321.3 MB, free: 14.65 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.547/1.547, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009531/0.0009531, allocations: 90.42 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.118e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2416, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.674/6.916, allocations: 2.192 GB / 3.084 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/6.916, allocations: 86.33 kB / 3.084 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1799/7.096, allocations: 81.86 MB / 3.164 GB, free: 58.59 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.525e-06/7.096, allocations: 0 / 3.164 GB, free: 58.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.663e-05/7.097, allocations: 24 kB / 3.164 GB, free: 58.57 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.002294/7.099, allocations: 1.296 MB / 3.166 GB, free: 57.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/7.099, allocations: 12.03 kB / 3.166 GB, free: 57.21 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/7.099, allocations: 177.6 kB / 3.166 GB, free: 57.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009139/7.1, allocations: 234.1 kB / 3.166 GB, free: 56.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/7.101, allocations: 0.7405 MB / 3.167 GB, free: 56.01 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/7.101, allocations: 128.1 kB / 3.167 GB, free: 55.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/7.101, allocations: 112 kB / 3.167 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/7.103, allocations: 1.186 MB / 3.168 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/7.103, allocations: 0 / 3.168 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/7.103, allocations: 59.94 kB / 3.168 GB, free: 54.46 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/7.103, allocations: 35.94 kB / 3.168 GB, free: 54.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/7.105, allocations: 1.305 MB / 3.169 GB, free: 53.11 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/7.11, allocations: 3.356 MB / 3.173 GB, free: 49.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/7.111, allocations: 0.8657 MB / 3.174 GB, free: 48.81 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/7.111, allocations: 351.1 kB / 3.174 GB, free: 48.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.821e-05/7.112, allocations: 36.72 kB / 3.174 GB, free: 48.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/7.112, allocations: 0.5179 MB / 3.174 GB, free: 47.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 3.387e-06/7.112, allocations: 0 / 3.174 GB, free: 47.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.001902/7.114, allocations: 0.8825 MB / 3.175 GB, free: 47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/7.114, allocations: 252.1 kB / 3.176 GB, free: 46.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/7.115, allocations: 0.6878 MB / 3.176 GB, free: 46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-05/7.115, allocations: 45.7 kB / 3.176 GB, free: 45.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/7.116, allocations: 0.5116 MB / 3.177 GB, free: 45.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/7.116, allocations: 299.5 kB / 3.177 GB, free: 45.13 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/7.116, allocations: 23.94 kB / 3.177 GB, free: 45.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.929e-05/7.116, allocations: 341.9 kB / 3.177 GB, free: 44.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/7.116, allocations: 290 kB / 3.178 GB, free: 44.49 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/7.117, allocations: 420.2 kB / 3.178 GB, free: 44.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/7.117, allocations: 352.8 kB / 3.178 GB, free: 43.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/7.117, allocations: 0 / 3.178 GB, free: 43.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00167/7.119, allocations: 0.9345 MB / 3.179 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/7.119, allocations: 7.984 kB / 3.179 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/7.119, allocations: 4 kB / 3.179 GB, free: 42.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/7.12, allocations: 80.84 kB / 3.179 GB, free: 42.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/7.121, allocations: 187.8 kB / 3.18 GB, free: 42.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/7.122, allocations: 1.532 MB / 3.181 GB, free: 40.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/7.123, allocations: 95.22 kB / 3.181 GB, free: 40.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/7.123, allocations: 39.97 kB / 3.181 GB, free: 40.66 MB / 0.8698 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 () * 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.0002245/7.123, allocations: 153.1 kB / 3.181 GB, free: 40.51 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/7.123, allocations: 102.7 kB / 3.181 GB, free: 40.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/7.126, allocations: 1.258 MB / 3.183 GB, free: 39.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/7.126, allocations: 12 kB / 3.183 GB, free: 39.12 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/7.126, allocations: 4 kB / 3.183 GB, free: 39.12 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/7.126, allocations: 7.969 kB / 3.183 GB, free: 39.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/7.13, allocations: 2.415 MB / 3.185 GB, free: 36.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/7.13, allocations: 0 / 3.185 GB, free: 36.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006889/7.13, allocations: 179.8 kB / 3.185 GB, free: 36.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/7.131, allocations: 88.77 kB / 3.185 GB, free: 36.37 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/7.131, allocations: 27.98 kB / 3.185 GB, free: 36.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/7.132, allocations: 1.559 MB / 3.187 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/7.132, allocations: 4.062 kB / 3.187 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/7.134, allocations: 1.07 MB / 3.188 GB, free: 33.55 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/7.135, allocations: 343.4 kB / 3.188 GB, free: 33.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/7.135, allocations: 31.92 kB / 3.188 GB, free: 33.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/7.136, allocations: 75.95 kB / 3.188 GB, free: 33.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/7.136, allocations: 68.89 kB / 3.188 GB, free: 33.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/7.136, allocations: 43.97 kB / 3.188 GB, free: 32.97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007154/7.137, allocations: 0.5694 MB / 3.189 GB, free: 32.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.137, allocations: 0 / 3.189 GB, free: 32.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001272/7.138, allocations: 418.7 kB / 3.189 GB, free: 32 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.conTim.tNext,weaDat.conTimMin.tNext) * 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.003761/7.142, allocations: 2.498 MB / 3.192 GB, free: 29.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001669/7.143, allocations: 0.886 MB / 3.193 GB, free: 28.67 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/7.143, allocations: 0 / 3.193 GB, free: 28.67 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/7.144, allocations: 0.5629 MB / 3.193 GB, free: 28.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/7.146, allocations: 255 kB / 3.194 GB, free: 27.85 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/7.15, allocations: 1.953 MB / 3.195 GB, free: 25.85 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/7.151, allocations: 1.138 MB / 3.197 GB, free: 24.69 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009875/7.152, allocations: 311.5 kB / 3.197 GB, free: 24.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/7.152, allocations: 0.4953 MB / 3.197 GB, free: 23.89 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/7.152, allocations: 0 / 3.197 GB, free: 23.89 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6783/7.831, allocations: 35.53 MB / 3.232 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/7.831, allocations: 264.4 kB / 3.232 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/10.87, allocations: 0 / 3.232 GB, free: 267.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)