Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 184.4 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.5777 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000948/0.0009478, allocations: 82.28 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 9.531 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2491, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002414/0.2516, allocations: 1.542 MB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.2534, allocations: 1.398 MB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.2535, allocations: 0 / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.2538, allocations: 27.83 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.254, allocations: 63.75 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.2544, allocations: 133.6 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.2546, allocations: 237.4 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2547, allocations: 21.11 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.2548, allocations: 83.81 kB / 0.9037 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.255, allocations: 87.7 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.255, allocations: 12 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2552, allocations: 59.92 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.2552, allocations: 71.8 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.2553, allocations: 61.58 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.2555, allocations: 223.8 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2556, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2556, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2556, allocations: 0 / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006718/0.2563, allocations: 0.5071 MB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2563, allocations: 8.031 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.285e-05/0.2564, allocations: 54.48 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.2565, allocations: 35.58 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.2568, allocations: 265.6 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.2568, allocations: 16 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.2568, allocations: 16 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.2572, allocations: 236.5 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2572, allocations: 0 / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.2572, allocations: 8 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2572, allocations: 4 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.2579, allocations: 0.7489 MB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000895/0.2588, allocations: 0.6408 MB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.2592, allocations: 309.9 kB / 0.907 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2593, allocations: 113.3 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.2594, allocations: 20.25 kB / 0.9071 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.2597, allocations: 175.4 kB / 0.9073 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.2597, allocations: 0 / 0.9073 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.0005388/0.2603, allocations: 374 kB / 0.9076 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2603, allocations: 140.4 kB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.2605, allocations: 312.9 kB / 0.9081 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2606, allocations: 29.7 kB / 0.9081 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.2606, allocations: 132.7 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.2607, allocations: 114.3 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.2607, allocations: 8 kB / 0.9083 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.2608, allocations: 338.8 kB / 0.9087 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2609, allocations: 79.95 kB / 0.9087 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2611, allocations: 135.5 kB / 0.9089 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.2612, allocations: 103.8 kB / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2612, allocations: 0 / 0.909 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003325/0.2616, allocations: 285.5 kB / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2616, allocations: 4 kB / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2616, allocations: 0 / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2616, allocations: 4 kB / 0.9092 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.2618, allocations: 63.89 kB / 0.9093 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.2618, allocations: 4 kB / 0.9093 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.262, allocations: 27.84 kB / 0.9093 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.262, allocations: 11.98 kB / 0.9093 GB, free: 54.27 MB / 0.6042 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.2622, allocations: 165.7 kB / 0.9095 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.2622, allocations: 35.58 kB / 0.9095 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.2627, allocations: 380.6 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2628, allocations: 4 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2628, allocations: 0 / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2628, allocations: 3.984 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.263, allocations: 341.2 kB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.263, allocations: 3.938 kB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.2632, allocations: 63.97 kB / 0.9103 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2632, allocations: 3.953 kB / 0.9103 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2632, allocations: 11.98 kB / 0.9103 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2632, allocations: 4 kB / 0.9103 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2632, allocations: 7.938 kB / 0.9103 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.2636, allocations: 329.9 kB / 0.9106 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.2637, allocations: 140.7 kB / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.2638, allocations: 11.95 kB / 0.9108 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2639, allocations: 34.81 kB / 0.9108 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.264, allocations: 23.97 kB / 0.9108 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.264, allocations: 19.98 kB / 0.9109 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001543/0.2642, allocations: 236.4 kB / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2642, allocations: 0 / 0.9111 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002714/0.2645, allocations: 63.91 kB / 0.9111 GB, free: 52.32 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.2658, allocations: 1.161 MB / 0.9123 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.2661, allocations: 228.1 kB / 0.9125 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2661, allocations: 0 / 0.9125 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.2663, allocations: 136.3 kB / 0.9126 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2666, allocations: 40.38 kB / 0.9127 GB, free: 50.89 MB / 0.6042 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.001873/0.2685, allocations: 1.537 MB / 0.9142 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.2687, allocations: 0.7614 MB / 0.9149 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.269, allocations: 150.9 kB / 0.9151 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.2691, allocations: 95.39 kB / 0.9151 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2691, allocations: 0 / 0.9151 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2964/0.5655, allocations: 5.89 MB / 0.9209 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.5658, allocations: 266.2 kB / 0.9211 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.7, allocations: 0 / 0.9211 GB, free: 42.23 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)