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.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.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.001063/0.001063, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001096/0.001096, allocations: 193.2 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.397/2.397, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 65.66 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2221, allocations: 157.4 MB / 1.052 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002936/0.225, allocations: 1.939 MB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2269, allocations: 1.553 MB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.227, allocations: 4 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.2272, allocations: 23.84 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.2275, allocations: 66.88 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.2279, allocations: 154.9 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.2282, allocations: 285.3 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2283, allocations: 29.33 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2284, allocations: 103.8 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.2286, allocations: 103.7 kB / 1.057 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.2287, allocations: 20 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.2288, allocations: 87.91 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.2289, allocations: 87.8 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.229, allocations: 119.3 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.2294, allocations: 323.1 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2294, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2294, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.2294, allocations: 0 / 1.057 GB, free: 3.75 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.00072/0.2301, allocations: 0.5617 MB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2302, allocations: 12.62 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.567e-05/0.2302, allocations: 58.66 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.2304, allocations: 36.56 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.2306, allocations: 270.7 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2307, allocations: 16.38 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.2307, allocations: 19.94 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.2311, allocations: 236.9 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2311, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2311, allocations: 12 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2311, allocations: 4 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008113/0.232, allocations: 0.7528 MB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009029/0.2329, allocations: 0.637 MB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.2333, allocations: 309.9 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.2335, allocations: 109.4 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.2335, allocations: 16.25 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.2339, allocations: 195.7 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.2339, allocations: 0 / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0006151/0.2345, allocations: 373.1 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.2346, allocations: 132.5 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.2348, allocations: 309 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.2349, allocations: 33.7 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.235, allocations: 132.7 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.2351, allocations: 122.2 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-05/0.2351, allocations: 73.53 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2353, allocations: 338.8 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.2354, allocations: 79.95 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.2356, allocations: 128.5 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.2359, allocations: 217.1 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2359, allocations: 4 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004136/0.2363, allocations: 281 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2363, allocations: 13.34 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2363, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2364, allocations: 0 / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2366, allocations: 63.84 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2366, allocations: 7.984 kB / 1.063 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.2367, allocations: 27.83 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.2368, allocations: 11.98 kB / 1.063 GB, free: 13.95 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.000146/0.2369, allocations: 169.8 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.237, allocations: 31.66 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.2376, allocations: 388.4 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2376, allocations: 4 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2376, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2376, allocations: 0 / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.2379, allocations: 345.2 kB / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2379, allocations: 0 / 1.063 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.2381, allocations: 67.91 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2381, allocations: 3.938 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.2381, allocations: 11.98 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2381, allocations: 0 / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2381, allocations: 4 kB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.2386, allocations: 314.3 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2387, allocations: 152.6 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.2388, allocations: 7.938 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2389, allocations: 23.98 kB / 1.064 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.239, allocations: 27.95 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.239, allocations: 12 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001859/0.2392, allocations: 236.4 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2392, allocations: 0 / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002793/0.2395, allocations: 68 kB / 1.064 GB, free: 12.01 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.001411/0.2409, allocations: 1.175 MB / 1.065 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004694/0.2414, allocations: 303.6 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2414, allocations: 0 / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.2416, allocations: 128.7 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.2419, allocations: 47.08 kB / 1.066 GB, free: 10.49 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.002726/0.2446, allocations: 2.593 MB / 1.068 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2449, allocations: 0.766 MB / 1.069 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003009/0.2452, allocations: 146.9 kB / 1.069 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.2454, allocations: 99.33 kB / 1.069 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2454, allocations: 0 / 1.069 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.215/2.46, allocations: 5.889 MB / 1.075 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/2.461, allocations: 291.4 kB / 1.075 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/4.61, allocations: 7.203 kB / 1.075 GB, free: 0.707 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)