Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 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.001092/0.001092, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.156/1.156, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.529/1.529, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001404/0.001404, allocations: 69.73 kB / 0.6716 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1645, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00169/0.1662, allocations: 0.6954 MB / 0.7842 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1672, allocations: 1.128 MB / 0.7853 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.1672, allocations: 0 / 0.7853 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.1673, allocations: 3.938 kB / 0.7853 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.249e-05/0.1673, allocations: 0 / 0.7853 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.1674, allocations: 11.98 kB / 0.7853 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.695e-05/0.1675, allocations: 15.94 kB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.1676, allocations: 7.984 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.1676, allocations: 19.92 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.1677, allocations: 11.98 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1677, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.1677, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1677, allocations: 4 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.1678, allocations: 7.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.465e-05/0.1678, allocations: 19.95 kB / 0.7854 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1678, allocations: 0 / 0.7854 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1678, allocations: 0 / 0.7854 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1678, allocations: 0 / 0.7854 GB, free: 11.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003256/0.1682, allocations: 327.8 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1682, allocations: 12.03 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.1682, allocations: 38.69 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.784e-05/0.1683, allocations: 0.9375 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.1683, allocations: 160.4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1684, allocations: 4.375 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1684, allocations: 4.359 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.1685, allocations: 41.81 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.1685, allocations: 4 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.1685, allocations: 4 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1685, allocations: 3.938 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.1685, allocations: 8 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.1688, allocations: 260.8 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.169, allocations: 46.55 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.169, allocations: 12.92 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.169, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.169, allocations: 34.56 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.063e-06/0.169, allocations: 0 / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001408/0.1692, allocations: 61.55 kB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.1692, allocations: 51.41 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.881e-05/0.1693, allocations: 89.86 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.1693, allocations: 25.7 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.1693, allocations: 88.14 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.1693, allocations: 7.906 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1694, allocations: 9.719 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.1694, allocations: 322.8 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.1695, allocations: 0 / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.1695, allocations: 4 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.1695, allocations: 28.78 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1695, allocations: 0 / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.604e-05/0.1696, allocations: 53.62 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1696, allocations: 4.938 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1696, allocations: 4 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.1696, allocations: 0 / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.1697, allocations: 4 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1697, allocations: 3.984 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.1697, allocations: 3.984 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1697, allocations: 0 / 0.787 GB, free: 9.609 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 (3): * Single equations (assignments): 3 * 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.868e-05/0.1698, allocations: 118.4 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.1698, allocations: 7.906 kB / 0.7871 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.17, allocations: 77.05 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.17, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.17, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.17, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1701, allocations: 169.6 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1701, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.018e-05/0.1702, allocations: 16.05 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1702, allocations: 0 / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.1702, allocations: 0 / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1702, allocations: 8 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1702, allocations: 0 / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1703, allocations: 159.4 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.1704, allocations: 81.05 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1704, allocations: 4 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.1705, allocations: 7.938 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.1705, allocations: 3.984 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1705, allocations: 0 / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.1705, allocations: 84.34 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1705, allocations: 0 / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001968/0.1707, allocations: 4 kB / 0.7877 GB, free: 8.781 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 (6): * Single equations (assignments): 6 * 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.000338/0.1711, allocations: 0.6932 MB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.918e-05/0.1712, allocations: 27.92 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1712, allocations: 4 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.1712, allocations: 19.98 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.1714, allocations: 6.438 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.1717, allocations: 147.1 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1719, allocations: 0.6768 MB / 0.7892 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.1719, allocations: 12.08 kB / 0.7893 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.172, allocations: 7.438 kB / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.172, allocations: 0 / 0.7893 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/0.3273, allocations: 1.179 MB / 0.7904 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/7.029, allocations: 5.703 kB / 0.7904 GB, free: 6.047 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)