Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.001028/0.001028, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.0009442/0.0009442, allocations: 191.6 kB / 16.14 MB, free: 6.715 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.176/1.176, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.368/2.368, allocations: 461.9 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.34 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2139, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002655/0.2166, allocations: 1.932 MB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2184, allocations: 1.557 MB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.2185, allocations: 4 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.2186, allocations: 19.89 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.2189, allocations: 71.69 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.2192, allocations: 146.8 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.2195, allocations: 265.3 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.2196, allocations: 29.33 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.2197, allocations: 83.77 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.2199, allocations: 109.4 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.2199, allocations: 8 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2201, allocations: 79.95 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.2201, allocations: 79.69 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.803e-05/0.2203, allocations: 115.3 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.2205, allocations: 307.1 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2206, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2206, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2206, allocations: 0 / 1.057 GB, free: 3.473 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006661/0.2212, allocations: 0.5617 MB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2213, allocations: 12.03 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.2213, allocations: 54.73 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.2215, allocations: 32.56 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2217, allocations: 278.7 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.2217, allocations: 16.36 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2218, allocations: 19.94 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.2221, allocations: 244.9 kB / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2221, allocations: 0 / 1.058 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.2221, allocations: 8 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2222, allocations: 4 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.2229, allocations: 0.749 MB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.2238, allocations: 0.6409 MB / 1.059 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.2242, allocations: 305.9 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.2243, allocations: 109.4 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.2244, allocations: 20.25 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.2247, allocations: 187.3 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.2247, allocations: 4 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0005983/0.2253, allocations: 375.1 kB / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.2254, allocations: 132.5 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.2256, allocations: 309 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.2256, allocations: 37.64 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.2257, allocations: 132.7 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.2258, allocations: 118.3 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-05/0.2259, allocations: 69.55 kB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.226, allocations: 342.8 kB / 1.061 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.2261, allocations: 83.89 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.2263, allocations: 135.5 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.2266, allocations: 208.6 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2266, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003926/0.227, allocations: 285.5 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.227, allocations: 17.64 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.227, allocations: 0 / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.227, allocations: 0 / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.2272, allocations: 63.91 kB / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2272, allocations: 0 / 1.062 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.2274, allocations: 27.83 kB / 1.062 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2274, allocations: 8 kB / 1.062 GB, free: 13.67 MB / 0.8262 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001361/0.2275, allocations: 161.8 kB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.2276, allocations: 35.66 kB / 1.062 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.2282, allocations: 392.5 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2282, allocations: 4 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2282, allocations: 0 / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2282, allocations: 0 / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.2285, allocations: 349.2 kB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2285, allocations: 0 / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.2287, allocations: 59.97 kB / 1.063 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2287, allocations: 7.938 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.2287, allocations: 8 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.2287, allocations: 4 kB / 1.063 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2287, allocations: 3.938 kB / 1.063 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.2291, allocations: 322.2 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2292, allocations: 148.6 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.2293, allocations: 7.938 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.2295, allocations: 30.22 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.2295, allocations: 23.97 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.2296, allocations: 19.98 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001693/0.2297, allocations: 232.4 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2297, allocations: 0 / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002638/0.23, allocations: 68 kB / 1.064 GB, free: 11.73 MB / 0.8262 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.001309/0.2313, allocations: 1.167 MB / 1.065 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.2317, allocations: 232.1 kB / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2317, allocations: 0 / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.2319, allocations: 127.9 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.2321, allocations: 44.36 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.2347, allocations: 2.602 MB / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.2349, allocations: 0.7733 MB / 1.069 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002831/0.2352, allocations: 138.9 kB / 1.069 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.2353, allocations: 103.4 kB / 1.069 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2353, allocations: 0 / 1.069 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.145/9.381, allocations: 5.737 MB / 1.075 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/9.381, allocations: 288.1 kB / 1.075 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/11.23, allocations: 0 / 1.075 GB, free: 0.6445 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)