Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.956/2.956, allocations: 287.5 MB / 302.4 MB, free: 8.367 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.001532/0.001532, allocations: 188.5 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001023/0.001023, allocations: 87.83 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008312/0.0008314, allocations: 16.03 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.266, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002504/0.2686, allocations: 1.524 MB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.2713, allocations: 1.395 MB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.2715, allocations: 4 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.2717, allocations: 23.84 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.2721, allocations: 59.75 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.2727, allocations: 143.8 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.2731, allocations: 237.4 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2733, allocations: 25.33 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2734, allocations: 79.77 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.2737, allocations: 91.77 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.422e-05/0.2737, allocations: 8 kB / 0.982 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.274, allocations: 63.91 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2741, allocations: 75.8 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.2742, allocations: 61.58 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.2746, allocations: 211.6 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.2746, allocations: 0 / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2746, allocations: 0 / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.585e-06/0.2746, allocations: 0 / 0.9824 GB, free: 24.23 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.0009503/0.2756, allocations: 0.5133 MB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2757, allocations: 12.03 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.189e-05/0.2757, allocations: 54.55 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.276, allocations: 35.66 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.2763, allocations: 265.6 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2764, allocations: 8 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.2764, allocations: 16 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/0.277, allocations: 233.4 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.277, allocations: 4 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.2771, allocations: 16 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2771, allocations: 4 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.2784, allocations: 0.7451 MB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.28, allocations: 0.6408 MB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.2809, allocations: 301.9 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.2811, allocations: 117.4 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/0.2812, allocations: 20.25 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/0.2817, allocations: 183.3 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 3.687e-06/0.2818, allocations: 3.938 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.001004/0.2828, allocations: 365.1 kB / 0.9858 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.2829, allocations: 136.4 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.2833, allocations: 312.9 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.2833, allocations: 29.7 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.2834, allocations: 144.6 kB / 0.9864 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2835, allocations: 114.3 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.2836, allocations: 4 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.2837, allocations: 334.8 kB / 0.9868 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.2839, allocations: 79.95 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.2842, allocations: 132.4 kB / 0.987 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.2845, allocations: 103.9 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2845, allocations: 3.938 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007176/0.2852, allocations: 281.6 kB / 0.9874 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.2853, allocations: 6.031 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2853, allocations: 0 / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2853, allocations: 4 kB / 0.9874 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/0.2858, allocations: 67.89 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2858, allocations: 0 / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.2861, allocations: 27.75 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.2861, allocations: 19.98 kB / 0.9875 GB, free: 18.69 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.0002234/0.2864, allocations: 161.5 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.2864, allocations: 35.67 kB / 0.9877 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2875, allocations: 388.6 kB / 0.9881 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2875, allocations: 0 / 0.9881 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.2876, allocations: 4 kB / 0.9881 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.2876, allocations: 7.984 kB / 0.9881 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.288, allocations: 333.3 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2881, allocations: 0 / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/0.2884, allocations: 63.91 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/0.2885, allocations: 3.953 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.2885, allocations: 15.98 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.2885, allocations: 4 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2885, allocations: 0 / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.2893, allocations: 325.6 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.2895, allocations: 144.7 kB / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.2896, allocations: 19.94 kB / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.2899, allocations: 27.97 kB / 0.989 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.29, allocations: 23.97 kB / 0.989 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.2901, allocations: 19.92 kB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002729/0.2904, allocations: 240.4 kB / 0.9892 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2904, allocations: 0 / 0.9892 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004446/0.2908, allocations: 71.94 kB / 0.9893 GB, free: 16.74 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.002034/0.2929, allocations: 1.153 MB / 0.9904 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006906/0.2936, allocations: 227.5 kB / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2936, allocations: 0 / 0.9906 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.2939, allocations: 136.7 kB / 0.9908 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.2944, allocations: 40.38 kB / 0.9908 GB, free: 15.31 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.003192/0.2976, allocations: 1.533 MB / 0.9923 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.298, allocations: 0.7655 MB / 0.9931 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005965/0.2986, allocations: 150.8 kB / 0.9932 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.2988, allocations: 103.4 kB / 0.9933 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of SimCode: time 2.374e-06/0.2988, allocations: 0 / 0.9933 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5164/0.8152, allocations: 5.864 MB / 0.999 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/0.8156, allocations: 261.1 kB / 0.9993 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/3.698, allocations: 0 / 0.9993 GB, free: 6.672 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)