Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 288.2 MB / 303.2 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 186.2 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 107.4 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003951, allocations: 15.44 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2515, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002332/0.2539, allocations: 1.525 MB / 0.981 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002013/0.2559, allocations: 1.363 MB / 0.9823 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.256, allocations: 4 kB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.2563, allocations: 27.78 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.2566, allocations: 63.78 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.2569, allocations: 140.8 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.2571, allocations: 169.7 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2573, allocations: 33.31 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.2574, allocations: 71.83 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.2575, allocations: 79.73 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.2576, allocations: 8 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.2577, allocations: 51.91 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.2578, allocations: 67.81 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.2578, allocations: 61.58 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2581, allocations: 215.6 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2581, allocations: 0 / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2581, allocations: 7.938 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2581, allocations: 0 / 0.9833 GB, free: 23.71 MB / 0.6198 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.0006802/0.2588, allocations: 0.5109 MB / 0.9838 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2588, allocations: 11.97 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.301e-05/0.2589, allocations: 50.55 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.259, allocations: 31.67 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.2593, allocations: 261.6 kB / 0.9841 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2593, allocations: 16 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.2593, allocations: 20 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.2597, allocations: 228.8 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2597, allocations: 0 / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.2597, allocations: 4 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2597, allocations: 4 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006487/0.2604, allocations: 0.7457 MB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.2614, allocations: 0.6533 MB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.2618, allocations: 301.9 kB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.2618, allocations: 24.19 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/0.2621, allocations: 175.4 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 1.814e-06/0.2621, allocations: 0 / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.000578/0.2627, allocations: 377.8 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.2628, allocations: 140.4 kB / 0.9867 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.263, allocations: 305 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.263, allocations: 29.7 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.2631, allocations: 136.6 kB / 0.9871 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/0.2632, allocations: 122.3 kB / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.2632, allocations: 4 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.645e-05/0.2633, allocations: 342.8 kB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2634, allocations: 83.95 kB / 0.9877 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.2636, allocations: 115.4 kB / 0.9878 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2637, allocations: 111.9 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2637, allocations: 0 / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003363/0.2641, allocations: 285.8 kB / 0.9882 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2641, allocations: 7.938 kB / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2641, allocations: 0 / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2641, allocations: 0 / 0.9882 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.2643, allocations: 71.91 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2643, allocations: 0 / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2645, allocations: 31.73 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2645, allocations: 15.98 kB / 0.9883 GB, free: 18.29 MB / 0.6198 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.000137/0.2647, allocations: 161.8 kB / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.2647, allocations: 31.66 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006003/0.2653, allocations: 392.5 kB / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2653, allocations: 7.938 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2653, allocations: 0 / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2654, allocations: 3.984 kB / 0.9889 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.2656, allocations: 337.3 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2656, allocations: 3.938 kB / 0.9892 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.2658, allocations: 55.97 kB / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2658, allocations: 0 / 0.9892 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2658, allocations: 15.94 kB / 0.9892 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2658, allocations: 4 kB / 0.9892 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2658, allocations: 7.938 kB / 0.9893 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.2662, allocations: 318 kB / 0.9896 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.2663, allocations: 156.6 kB / 0.9897 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.2664, allocations: 8 kB / 0.9897 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2666, allocations: 35.92 kB / 0.9898 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.2666, allocations: 23.97 kB / 0.9898 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.2667, allocations: 15.98 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00017/0.2669, allocations: 236.4 kB / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2669, allocations: 0 / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002899/0.2672, allocations: 67.94 kB / 0.9901 GB, free: 16.35 MB / 0.6198 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.001427/0.2686, allocations: 1.167 MB / 0.9912 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.2689, allocations: 232 kB / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.269, allocations: 0 / 0.9914 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.2691, allocations: 123.9 kB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2694, allocations: 41.73 kB / 0.9916 GB, free: 14.92 MB / 0.6198 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.001822/0.2712, allocations: 1.522 MB / 0.9931 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.2714, allocations: 0.7655 MB / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.2717, allocations: 151 kB / 0.994 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2718, allocations: 95.39 kB / 0.9941 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2718, allocations: 0 / 0.9941 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/0.7005, allocations: 5.863 MB / 0.9998 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.7008, allocations: 272 kB / 1 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.633, allocations: 0 / 1 GB, free: 6.266 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)