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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001854/0.001854, allocations: 192.4 kB / 16.13 MB, free: 6.648 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.201/1.201, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.378/2.378, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 61.78 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2237, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002204/0.2259, allocations: 1.515 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.2266, allocations: 0.4948 MB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.2267, allocations: 3.938 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.2267, allocations: 7.938 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.2269, allocations: 15.94 kB / 1.054 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.179e-05/0.227, allocations: 27.95 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.2271, allocations: 47.8 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.2271, allocations: 4 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.2272, allocations: 27.91 kB / 1.054 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.2273, allocations: 19.97 kB / 1.054 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.2273, allocations: 4 kB / 1.054 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.2273, allocations: 7.938 kB / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.2274, allocations: 7.984 kB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.2274, allocations: 19.92 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.493e-05/0.2275, allocations: 40.09 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2275, allocations: 4 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2275, allocations: 0 / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.2275, allocations: 3.938 kB / 1.054 GB, free: 5.922 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.0004922/0.228, allocations: 351.5 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.228, allocations: 8.031 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.2281, allocations: 34.75 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.2281, allocations: 4.938 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2282, allocations: 168.3 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2282, allocations: 4.375 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.2282, allocations: 384 / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.2284, allocations: 65.78 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-06/0.2284, allocations: 0 / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.2284, allocations: 4 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2284, allocations: 4 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.2285, allocations: 27.92 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.2288, allocations: 272.8 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.229, allocations: 70.61 kB / 1.055 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.229, allocations: 28.83 kB / 1.055 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.2291, allocations: 3.938 kB / 1.055 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.2292, allocations: 71.38 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.2292, allocations: 0 / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002055/0.2294, allocations: 85.67 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2295, allocations: 55.41 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.2295, allocations: 101.8 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2295, allocations: 37.64 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.2296, allocations: 88.05 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.2296, allocations: 11.75 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.2297, allocations: 25.7 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.2297, allocations: 326.7 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.2298, allocations: 15.98 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.2298, allocations: 16.06 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.533e-05/0.2299, allocations: 40.98 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2299, allocations: 4 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.23, allocations: 69.69 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.23, allocations: 9.094 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.23, allocations: 0 / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.2301, allocations: 0 / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.2301, allocations: 15.92 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2301, allocations: 0 / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.2302, allocations: 4 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2302, allocations: 3.984 kB / 1.056 GB, free: 3.699 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.16e-05/0.2303, allocations: 121.8 kB / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.2303, allocations: 7.906 kB / 1.056 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.2305, allocations: 97.56 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2305, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2305, allocations: 4 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2305, allocations: 0 / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.2306, allocations: 185.6 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2307, allocations: 256 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.2307, allocations: 12 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2307, allocations: 4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.2307, allocations: 8 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2308, allocations: 3.938 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2308, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.2309, allocations: 120.9 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.231, allocations: 89.03 kB / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.231, allocations: 192 / 1.057 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.231, allocations: 4 kB / 1.057 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2311, allocations: 23.86 kB / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2311, allocations: 0 / 1.057 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.2311, allocations: 83.27 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2312, allocations: 0 / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001802/0.2313, allocations: 16 kB / 1.057 GB, free: 2.832 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.0003599/0.2317, allocations: 0.6591 MB / 1.058 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2318, allocations: 47.92 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2318, allocations: 0 / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.2319, allocations: 31.98 kB / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.232, allocations: 0 / 1.058 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/0.233, allocations: 1.244 MB / 1.059 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.2332, allocations: 0.6848 MB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.404e-05/0.2333, allocations: 8.406 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.2333, allocations: 19.42 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2333, allocations: 0 / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1845/0.4178, allocations: 1.481 MB / 1.061 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.4181, allocations: 242.7 kB / 1.061 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.133, allocations: 2.953 kB / 1.061 GB, free: 14.41 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)