Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_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.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195.2 kB / 16.14 MB, free: 6.691 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.168/1.168, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.328/2.328, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 74.56 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.224, allocations: 157.4 MB / 1.052 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005557/0.2296, allocations: 4.987 MB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1338/0.3634, allocations: 148.5 MB / 1.202 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006988/0.3642, allocations: 15.94 kB / 1.202 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.3648, allocations: 150.8 kB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3664, allocations: 497 kB / 1.203 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.368, allocations: 0.7413 MB / 1.203 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.3693, allocations: 1.354 MB / 1.205 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007604/0.3701, allocations: 0.5673 MB / 1.205 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.3706, allocations: 454.1 kB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.3712, allocations: 0.4977 MB / 1.206 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.3714, allocations: 56 kB / 1.206 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007001/0.3721, allocations: 403.7 kB / 1.207 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3723, allocations: 251 kB / 1.207 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005074/0.3728, allocations: 0.5244 MB / 1.207 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.3743, allocations: 1.589 MB / 1.209 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3743, allocations: 4 kB / 1.209 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3743, allocations: 4 kB / 1.209 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3743, allocations: 0 / 1.209 GB, free: 6.98 MB / 0.9669 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.00247/0.3768, allocations: 1.479 MB / 1.21 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3768, allocations: 12.03 kB / 1.21 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.377, allocations: 135.7 kB / 1.211 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008301/0.3779, allocations: 195.3 kB / 1.211 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.3788, allocations: 0.766 MB / 1.212 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.3788, allocations: 73.94 kB / 1.212 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3789, allocations: 84 kB / 1.212 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.3804, allocations: 0.9652 MB / 1.213 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.3805, allocations: 0 / 1.213 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.3805, allocations: 40 kB / 1.213 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3806, allocations: 20 kB / 1.213 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.3823, allocations: 1.159 MB / 1.214 GB, free: 1.914 MB / 0.9669 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.003733/0.386, allocations: 2.876 MB / 1.217 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.3874, allocations: 0.8484 MB / 1.217 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.388, allocations: 326.6 kB / 1.218 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.586e-05/0.388, allocations: 36.67 kB / 1.218 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008777/0.3889, allocations: 0.5315 MB / 1.218 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 1.853e-06/0.3889, allocations: 0 / 1.218 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003099/0.392, allocations: 1.298 MB / 1.22 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.3922, allocations: 192.9 kB / 1.22 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.3929, allocations: 0.6528 MB / 1.22 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.3929, allocations: 45.7 kB / 1.22 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.3932, allocations: 404.4 kB / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.3934, allocations: 283.9 kB / 1.221 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/0.3936, allocations: 166.5 kB / 1.221 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3938, allocations: 390.8 kB / 1.222 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.3943, allocations: 269.8 kB / 1.222 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.3949, allocations: 386.5 kB / 1.222 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.396, allocations: 0.632 MB / 1.223 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.396, allocations: 0 / 1.223 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001837/0.3979, allocations: 0.8837 MB / 1.224 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3979, allocations: 8.094 kB / 1.224 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3979, allocations: 4 kB / 1.224 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005621/0.3985, allocations: 76.78 kB / 1.224 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.3992, allocations: 171.7 kB / 1.224 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.401, allocations: 1.522 MB / 1.225 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.4016, allocations: 99.3 kB / 1.226 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.4017, allocations: 35.97 kB / 1.226 GB, free: 5.395 MB / 0.9825 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.0003352/0.4021, allocations: 281.5 kB / 1.226 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.4022, allocations: 82.97 kB / 1.226 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.4046, allocations: 1.164 MB / 1.227 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4046, allocations: 12 kB / 1.227 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4046, allocations: 3.938 kB / 1.227 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4046, allocations: 7.922 kB / 1.227 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009164/0.4056, allocations: 0.9424 MB / 1.228 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4056, allocations: 4 kB / 1.228 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.4062, allocations: 155.7 kB / 1.228 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.4067, allocations: 84.77 kB / 1.228 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.4067, allocations: 31.97 kB / 1.228 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.4084, allocations: 1.548 MB / 1.23 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4084, allocations: 0 / 1.23 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.4103, allocations: 0.9942 MB / 1.231 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.4106, allocations: 283.7 kB / 1.231 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.4108, allocations: 24 kB / 1.231 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.4114, allocations: 71.83 kB / 1.231 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.4116, allocations: 80.88 kB / 1.231 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/0.4116, allocations: 35.98 kB / 1.231 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004969/0.4121, allocations: 483 kB / 1.232 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4121, allocations: 0 / 1.232 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006645/0.4128, allocations: 335.2 kB / 1.232 GB, free: 14.55 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.00322/0.416, allocations: 2.047 MB / 1.234 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.4175, allocations: 0.8587 MB / 1.235 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4175, allocations: 0 / 1.235 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.4184, allocations: 0.5432 MB / 1.235 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009985/0.4194, allocations: 284.5 kB / 1.236 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.4299, allocations: 7.165 MB / 1.243 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.4304, allocations: 1.032 MB / 1.244 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007363/0.4312, allocations: 275.1 kB / 1.244 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.4317, allocations: 407.3 kB / 1.244 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4317, allocations: 3.938 kB / 1.244 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.59/1.022, allocations: 21.65 MB / 1.265 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.022, allocations: 315.2 kB / 1.266 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.185, allocations: 3.875 kB / 1.266 GB, free: 187.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)