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.001604/0.001604, 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.002027/0.002027, allocations: 186 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.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.649/1.649, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001448/0.001448, allocations: 70.78 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2148, 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.002089/0.2169, allocations: 0.699 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.2181, allocations: 1.128 MB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.2182, allocations: 4 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.2182, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.2182, allocations: 3.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.2184, allocations: 15.98 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.005e-05/0.2185, allocations: 15.94 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.2186, allocations: 4 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.785e-05/0.2186, allocations: 19.91 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.2187, allocations: 11.98 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2187, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/0.2187, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.2188, allocations: 0 / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.2188, allocations: 11.94 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.563e-05/0.2189, allocations: 11.97 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2189, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2189, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.2189, allocations: 0 / 0.7855 GB, free: 11.32 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.0003583/0.2193, allocations: 331.8 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2193, allocations: 12.03 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.2194, allocations: 34.75 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.017e-05/0.2194, allocations: 0.9375 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.2195, allocations: 164.3 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2195, allocations: 384 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.2195, allocations: 4.375 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2196, allocations: 45.8 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2196, allocations: 4 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2196, allocations: 0 / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2196, allocations: 4 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.2197, allocations: 8 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.22, allocations: 252.8 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2201, allocations: 38.55 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.2202, allocations: 24.91 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.2202, allocations: 3.938 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.2202, allocations: 34.56 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2202, allocations: 3.938 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001594/0.2204, allocations: 57.62 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.2204, allocations: 51.41 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.2e-05/0.2205, allocations: 93.84 kB / 0.7866 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2205, allocations: 29.7 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.2205, allocations: 80.14 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.2205, allocations: 7.906 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.2206, allocations: 13.72 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.2207, allocations: 310.8 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.2207, allocations: 11.98 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.2207, allocations: 4 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.2208, allocations: 33.05 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2208, allocations: 0 / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.878e-05/0.2209, allocations: 53.62 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2209, allocations: 4 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2209, allocations: 0 / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2209, allocations: 0 / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.132e-05/0.2209, allocations: 4 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.221, allocations: 4 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.221, allocations: 0 / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.221, allocations: 0 / 0.7872 GB, free: 9.398 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 6.237e-05/0.2211, allocations: 113.8 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.2211, allocations: 11.91 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.2212, allocations: 69.12 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2212, allocations: 11.92 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2213, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2213, allocations: 0 / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.2214, allocations: 161.6 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2214, allocations: 0 / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.002e-05/0.2215, allocations: 12 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2215, allocations: 0 / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2215, allocations: 0 / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2215, allocations: 4 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2215, allocations: 3.984 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.2217, allocations: 163.4 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.2217, allocations: 77.11 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2217, allocations: 4.125 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.2218, allocations: 0 / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.2218, allocations: 11.94 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2218, allocations: 4 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.2218, allocations: 76.34 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2218, allocations: 0 / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002066/0.2221, allocations: 7.938 kB / 0.7879 GB, free: 8.578 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.0003882/0.2224, allocations: 0.6995 MB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.323e-05/0.2225, allocations: 31.92 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2226, allocations: 0 / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.2226, allocations: 16 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.2228, allocations: 6.438 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.2232, allocations: 147.1 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2234, allocations: 0.6729 MB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.961e-05/0.2234, allocations: 7.984 kB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.2235, allocations: 15.44 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2235, allocations: 0 / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.2385, allocations: 1.196 MB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.489, allocations: 7.25 kB / 0.7906 GB, free: 5.836 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)