Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001606/0.001606, allocations: 179 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001028/0.001027, allocations: 104.4 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 11.53 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2699, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005129/0.2751, allocations: 4.193 MB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.4416, allocations: 127.6 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000995/0.4427, allocations: 19.88 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.4431, allocations: 87.14 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.4448, allocations: 0.5353 MB / 1.029 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.4468, allocations: 0.6484 MB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.4483, allocations: 0.9703 MB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.4493, allocations: 0.7793 MB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008191/0.4502, allocations: 477.8 kB / 1.032 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.4508, allocations: 461.4 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.4509, allocations: 28 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.4517, allocations: 255.7 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.4519, allocations: 223 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.4521, allocations: 256.9 kB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.4537, allocations: 1.512 MB / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4537, allocations: 0 / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4537, allocations: 0 / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.4537, allocations: 0 / 1.035 GB, free: 5.48 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002856/0.4566, allocations: 1.467 MB / 1.036 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4566, allocations: 8.031 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.4569, allocations: 206.8 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009815/0.4579, allocations: 249.8 kB / 1.037 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.4592, allocations: 0.8445 MB / 1.038 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.086e-05/0.4593, allocations: 102.8 kB / 1.038 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.4595, allocations: 140 kB / 1.038 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.4617, allocations: 1.372 MB / 1.039 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4617, allocations: 3.938 kB / 1.039 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.4619, allocations: 56 kB / 1.039 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.4619, allocations: 39.95 kB / 1.039 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.4644, allocations: 1.474 MB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.4704, allocations: 3.58 MB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.4721, allocations: 0.9636 MB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.4722, allocations: 48.98 kB / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.4732, allocations: 0.5787 MB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=104): time 4.238e-06/0.4733, allocations: 0 / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=104): time 0.003491/0.4768, allocations: 1.479 MB / 1.047 GB, free: 8.586 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.4769, allocations: 196.9 kB / 1.047 GB, free: 8.352 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.4779, allocations: 0.7393 MB / 1.048 GB, free: 7.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.478, allocations: 41.7 kB / 1.048 GB, free: 7.551 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000454/0.4784, allocations: 0.566 MB / 1.049 GB, free: 6.977 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.4788, allocations: 343 kB / 1.049 GB, free: 6.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.4788, allocations: 23.94 kB / 1.049 GB, free: 6.613 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.479, allocations: 341.9 kB / 1.049 GB, free: 6.273 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000616/0.4796, allocations: 337.8 kB / 1.05 GB, free: 5.941 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/0.4803, allocations: 462.4 kB / 1.05 GB, free: 5.465 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.481, allocations: 402.9 kB / 1.051 GB, free: 5.074 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4811, allocations: 4 kB / 1.051 GB, free: 5.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002257/0.4833, allocations: 1.059 MB / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4834, allocations: 9.094 kB / 1.052 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4834, allocations: 0 / 1.052 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.484, allocations: 88.81 kB / 1.052 GB, free: 3.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.4849, allocations: 215.7 kB / 1.052 GB, free: 3.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.4871, allocations: 1.557 MB / 1.053 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/0.488, allocations: 110.2 kB / 1.054 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.4881, allocations: 43.95 kB / 1.054 GB, free: 1.848 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 (117): * Single equations (assignments): 116 * 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.0006576/0.4887, allocations: 297.7 kB / 1.054 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.4889, allocations: 102.7 kB / 1.054 GB, free: 1.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/0.492, allocations: 1.415 MB / 1.055 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.492, allocations: 12 kB / 1.055 GB, free: 0 / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.492, allocations: 0 / 1.055 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.531/1.023, allocations: 4.422 kB / 1.055 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004725/1.028, allocations: 2.554 MB / 1.058 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.028, allocations: 2.938 kB / 1.058 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007439/1.029, allocations: 197.8 kB / 1.058 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/1.029, allocations: 81.19 kB / 1.058 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/1.029, allocations: 28.12 kB / 1.058 GB, free: 152.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.031, allocations: 1.575 MB / 1.06 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.031, allocations: 0 / 1.06 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/1.033, allocations: 1.17 MB / 1.061 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005614/1.033, allocations: 349.3 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.034, allocations: 25.58 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006949/1.034, allocations: 73.02 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.034, allocations: 80.09 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.19e-05/1.035, allocations: 40.88 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008089/1.035, allocations: 0.5545 MB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.035, allocations: 3.75 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001005/1.036, allocations: 381.1 kB / 1.062 GB, free: 151.2 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 112 * 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.003389/1.04, allocations: 2.178 MB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.042, allocations: 1.009 MB / 1.065 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.042, allocations: 0.8438 kB / 1.065 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/1.043, allocations: 0.6108 MB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.045, allocations: 253.8 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/1.06, allocations: 6.903 MB / 1.073 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.061, allocations: 1.189 MB / 1.074 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001452/1.062, allocations: 294.9 kB / 1.074 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.063, allocations: 0.5317 MB / 1.075 GB, free: 146.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/1.063, allocations: 3.938 kB / 1.075 GB, free: 146.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/1.115, allocations: 25.55 MB / 1.1 GB, free: 129.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.115, allocations: 284.9 kB / 1.1 GB, free: 128.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/4.135, allocations: 64 / 1.1 GB, free: 128.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)