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.001544/0.001544, allocations: 109.4 kB / 15.69 MB, free: 128 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.001372/0.001372, allocations: 186.7 kB / 16.62 MB, free: 6.613 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.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.771/1.771, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001431/0.001431, allocations: 76.41 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2349, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001915/0.2369, allocations: 0.7022 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2381, allocations: 1.121 MB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.2381, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.2382, allocations: 3.938 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.607e-05/0.2382, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.2383, allocations: 11.98 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.403e-05/0.2384, allocations: 27.92 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.2385, allocations: 4 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.2386, allocations: 7.984 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.2386, allocations: 15.92 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.2386, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.2387, allocations: 4 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.2387, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.2387, allocations: 11.92 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.22e-05/0.2388, allocations: 11.97 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2388, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2388, allocations: 4 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2388, allocations: 7.938 kB / 0.7855 GB, free: 11.31 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.0003502/0.2392, allocations: 323.8 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2392, allocations: 8.031 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.2392, allocations: 34.75 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.2393, allocations: 4.938 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.174e-05/0.2393, allocations: 164.4 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2394, allocations: 4.375 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.2394, allocations: 384 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2395, allocations: 45.81 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2395, allocations: 3.984 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2395, allocations: 0 / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2395, allocations: 0 / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.073e-05/0.2396, allocations: 19.92 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.2398, allocations: 248.8 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.24, allocations: 42.56 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.24, allocations: 12.92 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.2401, allocations: 3.938 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.2401, allocations: 46.48 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.2401, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001457/0.2403, allocations: 53.62 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.2403, allocations: 55.41 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/0.2403, allocations: 89.86 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.2404, allocations: 29.7 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.2404, allocations: 80.14 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2404, allocations: 7.906 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2405, allocations: 17.7 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.2405, allocations: 310.8 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.2406, allocations: 8 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.144e-05/0.2406, allocations: 7.984 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.2406, allocations: 32.73 kB / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2406, allocations: 0 / 0.7871 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.404e-05/0.2407, allocations: 41.69 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2407, allocations: 8.938 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2407, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2407, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.2408, allocations: 7.984 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2408, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.2408, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.2408, allocations: 8 kB / 0.7872 GB, free: 9.395 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.867e-05/0.2409, allocations: 110.4 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.2409, allocations: 7.906 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.2411, allocations: 77.05 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2411, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2411, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2411, allocations: 4 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.2413, allocations: 165.6 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2413, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.2413, allocations: 15.98 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2413, allocations: 4.328 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.2413, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2413, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2413, allocations: 0 / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2415, allocations: 159.4 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.2415, allocations: 89.16 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.2415, allocations: 4 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.2416, allocations: 11.98 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.2416, allocations: 0 / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.2416, allocations: 4 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.084e-05/0.2416, allocations: 80.28 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2416, allocations: 0 / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002145/0.2418, allocations: 4 kB / 0.7879 GB, free: 8.57 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.0003483/0.2422, allocations: 0.7045 MB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.539e-05/0.2423, allocations: 16 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2423, allocations: 4 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.2423, allocations: 15.98 kB / 0.7886 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.0001932/0.2425, allocations: 8 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.2429, allocations: 143.1 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.2431, allocations: 0.6768 MB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.2431, allocations: 8 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.2432, allocations: 19.42 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2432, allocations: 0 / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.259, allocations: 1.191 MB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.917, allocations: 8.594 kB / 0.7906 GB, free: 5.832 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)