Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_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.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001208/0.001208, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.203/1.203, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.38/2.38, allocations: 461.9 MB / 0.7343 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 62.72 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2193, allocations: 157.4 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002286/0.2216, allocations: 1.509 MB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.2223, allocations: 0.5025 MB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.2224, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2224, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.2226, allocations: 23.91 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.393e-05/0.2227, allocations: 27.91 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.065e-05/0.2227, allocations: 51.84 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.089e-05/0.2228, allocations: 7.938 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.2229, allocations: 19.98 kB / 1.055 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.223, allocations: 23.91 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.223, allocations: 4 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.223, allocations: 4 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.223, allocations: 19.92 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.2231, allocations: 15.92 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.279e-05/0.2232, allocations: 44.09 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2232, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2232, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.2232, allocations: 0 / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004741/0.2237, allocations: 355.4 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2237, allocations: 12.62 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.2237, allocations: 34.75 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.2238, allocations: 0.9375 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2239, allocations: 180.2 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2239, allocations: 384 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2239, allocations: 4.375 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.224, allocations: 57.8 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.224, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.224, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.224, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.2241, allocations: 27.97 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2244, allocations: 288.7 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.2246, allocations: 66.67 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.2247, allocations: 16.86 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.2247, allocations: 4 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.2248, allocations: 75.31 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2248, allocations: 3.938 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.000202/0.225, allocations: 89.67 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.2251, allocations: 51.41 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.2251, allocations: 105.8 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2252, allocations: 25.7 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.2252, allocations: 88.05 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.2252, allocations: 23.73 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.2253, allocations: 17.72 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.2254, allocations: 322.8 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.2254, allocations: 12 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.2254, allocations: 15.98 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.426e-05/0.2255, allocations: 44.94 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2255, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001083/0.2256, allocations: 73.73 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.2256, allocations: 8 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2256, allocations: 256 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.2257, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.2257, allocations: 16 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2257, allocations: 4 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.2258, allocations: 3.984 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2258, allocations: 4 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.886e-05/0.2259, allocations: 119.2 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.2259, allocations: 7.906 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.2261, allocations: 109.5 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2261, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2261, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2261, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2263, allocations: 181.6 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2263, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.2263, allocations: 15.98 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2263, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2263, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2264, allocations: 0 / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2264, allocations: 4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.2265, allocations: 128.9 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2266, allocations: 84.98 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.2266, allocations: 0 / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.2267, allocations: 7.984 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.2267, allocations: 8 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2267, allocations: 3.984 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.2268, allocations: 87.28 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2268, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001785/0.2269, allocations: 12 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003829/0.2273, allocations: 0.6597 MB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.2275, allocations: 63.91 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2275, allocations: 4 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-05/0.2275, allocations: 31.92 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2277, allocations: 4 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.2286, allocations: 1.231 MB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.2289, allocations: 0.6823 MB / 1.06 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.2289, allocations: 16.06 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.229, allocations: 15.44 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.229, allocations: 3.938 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.661/1.89, allocations: 1.53 MB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/1.891, allocations: 239.2 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/4.34, allocations: 5.25 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)