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.001252/0.001252, allocations: 104 kB / 15.61 MB, free: 148 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.001229/0.001229, allocations: 195.5 kB / 16.53 MB, free: 6.684 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7347 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 61.19 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2189, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002895/0.2218, allocations: 1.884 MB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.2237, allocations: 1.565 MB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.2238, allocations: 4 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.224, allocations: 35.78 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.2243, allocations: 79.53 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.2247, allocations: 170.6 kB / 1.057 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.225, allocations: 285.3 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2251, allocations: 37.33 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.699e-05/0.2252, allocations: 95.75 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.2254, allocations: 100.8 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.2254, allocations: 20 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.2256, allocations: 91.95 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.2257, allocations: 95.67 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2258, allocations: 119.3 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.2262, allocations: 315.1 kB / 1.058 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2262, allocations: 0 / 1.058 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2262, allocations: 4 kB / 1.058 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.2262, allocations: 4 kB / 1.058 GB, free: 3.402 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.0006801/0.2269, allocations: 0.5617 MB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2269, allocations: 8.625 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.369e-05/0.227, allocations: 50.73 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.2271, allocations: 32.56 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.2274, allocations: 274.7 kB / 1.059 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2274, allocations: 20.31 kB / 1.059 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.2274, allocations: 19.94 kB / 1.059 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.2278, allocations: 240.9 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2278, allocations: 0 / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2278, allocations: 4 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2278, allocations: 4 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.2286, allocations: 0.749 MB / 1.06 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008934/0.2295, allocations: 0.6448 MB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.2299, allocations: 305.9 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2301, allocations: 117.4 kB / 1.061 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.2301, allocations: 16.25 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.2304, allocations: 191.8 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 1.363e-06/0.2304, allocations: 0 / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0006122/0.231, allocations: 373 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.2311, allocations: 136.5 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2314, allocations: 313 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.2314, allocations: 29.7 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.2315, allocations: 136.7 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.2316, allocations: 122.3 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.2316, allocations: 65.55 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.2317, allocations: 334.8 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.2319, allocations: 83.95 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.2321, allocations: 124.6 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.2324, allocations: 229 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2324, allocations: 0 / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000402/0.2328, allocations: 281 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2328, allocations: 7.938 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2328, allocations: 3.938 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2328, allocations: 4 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.233, allocations: 63.91 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.233, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.2332, allocations: 27.83 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.2332, allocations: 15.98 kB / 1.063 GB, free: 13.6 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.0001447/0.2334, allocations: 169.7 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.2334, allocations: 27.66 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.2341, allocations: 384.5 kB / 1.064 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2341, allocations: 4 kB / 1.064 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2341, allocations: 4 kB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2341, allocations: 3.984 kB / 1.064 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.2344, allocations: 345.2 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2344, allocations: 0 / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2345, allocations: 59.91 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.2345, allocations: 7.938 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2346, allocations: 11.98 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2346, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2346, allocations: 0 / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.235, allocations: 326.2 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2351, allocations: 148.6 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.2351, allocations: 11.94 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2353, allocations: 23.97 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.2354, allocations: 23.97 kB / 1.065 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.2354, allocations: 12 kB / 1.065 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001623/0.2356, allocations: 240.4 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2356, allocations: 0 / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002529/0.2358, allocations: 63.98 kB / 1.065 GB, free: 11.67 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.001268/0.2371, allocations: 1.166 MB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.2375, allocations: 303.6 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2375, allocations: 4 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.2377, allocations: 132.7 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.238, allocations: 42.31 kB / 1.066 GB, free: 10.16 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.002303/0.2403, allocations: 2.527 MB / 1.069 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2405, allocations: 0.7653 MB / 1.07 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002728/0.2408, allocations: 142.9 kB / 1.07 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2409, allocations: 99.38 kB / 1.07 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of SimCode: time 1.984e-06/0.2409, allocations: 0 / 1.07 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.079/1.32, allocations: 5.972 MB / 1.076 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/10.2, allocations: 13.39 kB / 1.076 GB, free: 0.7031 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)