Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001147/0.001147, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001124/0.001124, allocations: 189.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.502/1.502, allocations: 292.3 MB / 0.5486 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 69.48 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1696, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002242/0.1719, allocations: 1.529 MB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005654/0.1725, allocations: 472.9 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.1725, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.1726, allocations: 3.938 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/0.1726, allocations: 7.938 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.1728, allocations: 15.97 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.1728, allocations: 39.86 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.1729, allocations: 24.27 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.469e-05/0.173, allocations: 15.94 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.173, allocations: 27.89 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1731, allocations: 4 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.1731, allocations: 4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1731, allocations: 4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.1731, allocations: 19.86 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.092e-05/0.1732, allocations: 47.77 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1732, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1732, allocations: 4 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.1732, allocations: 0 / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003707/0.1736, allocations: 343.4 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1736, allocations: 12.03 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.1737, allocations: 34.75 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.1737, allocations: 4.938 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1738, allocations: 168.2 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1738, allocations: 8.375 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1738, allocations: 4.375 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.1739, allocations: 61.73 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-06/0.1739, allocations: 0 / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.174, allocations: 8 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.174, allocations: 0 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.819e-05/0.174, allocations: 23.98 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.1743, allocations: 288.8 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1745, allocations: 62.61 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.1745, allocations: 24.84 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1746, allocations: 4 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1746, allocations: 34.56 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1746, allocations: 4 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001479/0.1747, allocations: 69.62 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1748, allocations: 55.41 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.1749, allocations: 101.8 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1749, allocations: 25.7 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.1749, allocations: 84.08 kB / 0.7865 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1749, allocations: 15.81 kB / 0.7865 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.175, allocations: 21.7 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.1751, allocations: 318.8 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.1751, allocations: 8 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.1751, allocations: 15.98 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.1752, allocations: 28.8 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1752, allocations: 0 / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.156e-05/0.1752, allocations: 69.53 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.1753, allocations: 4 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1753, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.1753, allocations: 0 / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.1753, allocations: 11.98 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1754, allocations: 4 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.744e-05/0.1754, allocations: 0 / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.1754, allocations: 0 / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.1755, allocations: 117.8 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.1755, allocations: 448 / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.1756, allocations: 97.03 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1756, allocations: 0 / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1756, allocations: 0 / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1756, allocations: 4 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1758, allocations: 189.5 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1758, allocations: 4 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.1759, allocations: 8 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1759, allocations: 0 / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1759, allocations: 4 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1759, allocations: 0 / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1759, allocations: 3.984 kB / 0.7874 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.176, allocations: 175.4 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.1761, allocations: 77.11 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1761, allocations: 0 / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.1762, allocations: 4 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1762, allocations: 7.984 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1762, allocations: 4 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.1762, allocations: 79.28 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1762, allocations: 0 / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002044/0.1764, allocations: 19.84 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003431/0.1768, allocations: 0.7046 MB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.1769, allocations: 35.98 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1769, allocations: 0 / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.936e-05/0.1769, allocations: 27.94 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.1771, allocations: 7.922 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.178, allocations: 1.277 MB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.1782, allocations: 0.6846 MB / 0.7904 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.1783, allocations: 8.297 kB / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.601e-05/0.1783, allocations: 15.44 kB / 0.7904 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1783, allocations: 0 / 0.7904 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.189, allocations: 1.29 MB / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.1893, allocations: 219.6 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.686, allocations: 4.281 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)