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.452/1.452, allocations: 252 MB / 267.3 MB, free: 10.86 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.001302/0.001302, allocations: 176.3 kB / 327 MB, free: 2.105 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.136/2.136, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0009374/0.0009375, allocations: 105.5 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 8.531 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2707, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002729/0.2735, allocations: 1.566 MB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.2758, allocations: 1.46 MB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.276, allocations: 4 kB / 0.9039 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.2763, allocations: 11.92 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.2767, allocations: 71.67 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.2772, allocations: 140.1 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.2775, allocations: 261.3 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2777, allocations: 29.09 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2778, allocations: 83.8 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.2781, allocations: 91.64 kB / 0.9045 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.2782, allocations: 16 kB / 0.9046 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.2784, allocations: 55.98 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.2785, allocations: 75.8 kB / 0.9047 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.2787, allocations: 137 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004354/0.2791, allocations: 295.3 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2792, allocations: 0 / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2792, allocations: 4 kB / 0.9051 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.2792, allocations: 0 / 0.9051 GB, free: 59.08 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.0008926/0.2801, allocations: 0.4956 MB / 0.9056 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2801, allocations: 12.03 kB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.021e-05/0.2802, allocations: 54.73 kB / 0.9056 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.2804, allocations: 32.56 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.2807, allocations: 270.7 kB / 0.9059 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2807, allocations: 12.38 kB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2808, allocations: 23.94 kB / 0.906 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.2811, allocations: 244.5 kB / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2812, allocations: 0 / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2812, allocations: 8 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2812, allocations: 4 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.2819, allocations: 0.7412 MB / 0.9069 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.2829, allocations: 0.6548 MB / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.2833, allocations: 298 kB / 0.9079 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2835, allocations: 117.3 kB / 0.908 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.2835, allocations: 16.25 kB / 0.908 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003173/0.2838, allocations: 187.4 kB / 0.9082 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.2839, allocations: 0 / 0.9082 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.0005863/0.2844, allocations: 374 kB / 0.9085 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.2845, allocations: 140.4 kB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.2848, allocations: 309 kB / 0.9089 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.2848, allocations: 29.7 kB / 0.909 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.2849, allocations: 132.7 kB / 0.9091 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/0.285, allocations: 126.2 kB / 0.9092 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.285, allocations: 4 kB / 0.9092 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.2851, allocations: 338.8 kB / 0.9095 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.2852, allocations: 79.95 kB / 0.9096 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2853, allocations: 131.5 kB / 0.9098 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.2856, allocations: 213.2 kB / 0.91 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2856, allocations: 0 / 0.91 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003399/0.286, allocations: 281 kB / 0.9102 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.286, allocations: 8 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.286, allocations: 0 / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.286, allocations: 3.938 kB / 0.9102 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.2862, allocations: 67.89 kB / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2863, allocations: 7.984 kB / 0.9103 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.2864, allocations: 25.88 kB / 0.9103 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.2864, allocations: 19.98 kB / 0.9103 GB, free: 53.42 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.2866, allocations: 161.8 kB / 0.9105 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.2866, allocations: 27.62 kB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005617/0.2872, allocations: 388.5 kB / 0.9109 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2872, allocations: 4.047 kB / 0.9109 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.2872, allocations: 7.984 kB / 0.9109 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2872, allocations: 7.984 kB / 0.9109 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.2875, allocations: 337.2 kB / 0.9112 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2875, allocations: 0 / 0.9112 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.2877, allocations: 59.91 kB / 0.9113 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2877, allocations: 0 / 0.9113 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.2877, allocations: 19.92 kB / 0.9113 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2877, allocations: 4 kB / 0.9113 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2877, allocations: 3.938 kB / 0.9113 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.2881, allocations: 330.1 kB / 0.9116 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2882, allocations: 148.7 kB / 0.9118 GB, free: 51.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.2883, allocations: 11.94 kB / 0.9118 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2885, allocations: 27.97 kB / 0.9118 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.2886, allocations: 23.97 kB / 0.9118 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.2886, allocations: 15.98 kB / 0.9119 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001762/0.2888, allocations: 240.4 kB / 0.9121 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2888, allocations: 0 / 0.9121 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002831/0.2891, allocations: 64 kB / 0.9121 GB, free: 51.48 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 (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.001612/0.2907, allocations: 1.157 MB / 0.9133 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.2911, allocations: 236.1 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2911, allocations: 4 kB / 0.9135 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.2913, allocations: 131.8 kB / 0.9136 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2916, allocations: 36.42 kB / 0.9137 GB, free: 50.04 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.002554/0.2942, allocations: 2.601 MB / 0.9162 GB, free: 47.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.2944, allocations: 0.7614 MB / 0.917 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002987/0.2947, allocations: 142.9 kB / 0.9171 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2948, allocations: 95.39 kB / 0.9172 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.2948, allocations: 4 kB / 0.9172 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.321/0.6159, allocations: 5.51 MB / 0.9226 GB, free: 41 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.6161, allocations: 297 kB / 0.9228 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.898, allocations: 0 / 0.9228 GB, free: 40.62 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)