Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 195.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.61/2.61, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 70.16 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2543, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006346/0.2607, allocations: 4.964 MB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.4171, allocations: 150.8 MB / 1.216 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008262/0.418, allocations: 11.94 kB / 1.216 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.4187, allocations: 202.1 kB / 1.216 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.4206, allocations: 0.5698 MB / 1.217 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.4225, allocations: 0.8463 MB / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.4242, allocations: 1.44 MB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.425, allocations: 0.5948 MB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005948/0.4256, allocations: 0.5022 MB / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.4262, allocations: 0.5368 MB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.4264, allocations: 120 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000738/0.4271, allocations: 463.6 kB / 1.221 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.4274, allocations: 307 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004932/0.4279, allocations: 0.5908 MB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.4295, allocations: 1.643 MB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4295, allocations: 4 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4295, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4295, allocations: 0 / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002377/0.4319, allocations: 1.479 MB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.4319, allocations: 15.97 kB / 1.225 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.4321, allocations: 139.7 kB / 1.225 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/0.4329, allocations: 187.4 kB / 1.226 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009809/0.4339, allocations: 0.7699 MB / 1.226 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.609e-05/0.434, allocations: 66 kB / 1.226 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.4341, allocations: 88 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.4356, allocations: 0.9652 MB / 1.227 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.4356, allocations: 0 / 1.227 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.4357, allocations: 40 kB / 1.227 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.4357, allocations: 20 kB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.4375, allocations: 1.151 MB / 1.229 GB, free: 4.922 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.4414, allocations: 2.892 MB / 1.231 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.4429, allocations: 0.8407 MB / 1.232 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.4435, allocations: 334.6 kB / 1.233 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.095e-05/0.4435, allocations: 32.69 kB / 1.233 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008961/0.4444, allocations: 0.5237 MB / 1.233 GB, free: 164 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.054e-06/0.4445, allocations: 4 kB / 1.233 GB, free: 160 kB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003193/0.4477, allocations: 1.298 MB / 1.234 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.4478, allocations: 196.9 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.4485, allocations: 0.6528 MB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.4486, allocations: 41.7 kB / 1.235 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.4489, allocations: 408.4 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.4491, allocations: 283.8 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.4494, allocations: 158.5 kB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4496, allocations: 394.7 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.4501, allocations: 269.9 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.4508, allocations: 390.5 kB / 1.237 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.4519, allocations: 0.6437 MB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4519, allocations: 0 / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001899/0.4538, allocations: 0.8605 MB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4539, allocations: 8 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4539, allocations: 3.984 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/0.4544, allocations: 80.84 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.4551, allocations: 171.7 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.4571, allocations: 1.63 MB / 1.24 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.4578, allocations: 100.4 kB / 1.24 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.4579, allocations: 35.97 kB / 1.241 GB, free: 8.285 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003572/0.4582, allocations: 273.8 kB / 1.241 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4584, allocations: 90.95 kB / 1.241 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.4609, allocations: 1.167 MB / 1.242 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4609, allocations: 12 kB / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4609, allocations: 0 / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.4609, allocations: 3.984 kB / 1.242 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.462, allocations: 0.9501 MB / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.462, allocations: 0 / 1.243 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.4626, allocations: 155.8 kB / 1.243 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.463, allocations: 72.72 kB / 1.243 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.4631, allocations: 31.97 kB / 1.243 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.4649, allocations: 1.654 MB / 1.245 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4649, allocations: 7.969 kB / 1.245 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.4669, allocations: 0.9903 MB / 1.246 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.4672, allocations: 287.6 kB / 1.246 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4674, allocations: 27.92 kB / 1.246 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.468, allocations: 63.92 kB / 1.246 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4681, allocations: 84.83 kB / 1.246 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.4682, allocations: 35.98 kB / 1.246 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005468/0.4688, allocations: 483 kB / 1.247 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4688, allocations: 0 / 1.247 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007293/0.4695, allocations: 335.2 kB / 1.247 GB, free: 1.336 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.4157/0.8852, allocations: 2.048 MB / 1.249 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004091/0.8894, allocations: 1.08 MB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8894, allocations: 0.7812 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.8908, allocations: 0.5468 MB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.8927, allocations: 308.4 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.9069, allocations: 6.757 MB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.9074, allocations: 1.043 MB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001361/0.9088, allocations: 274.4 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/0.9095, allocations: 404.5 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.9096, allocations: 0 / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7023/1.612, allocations: 22.51 MB / 1.281 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.53/22.15, allocations: 10.48 kB / 1.281 GB, free: 176.3 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)