Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_8_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.001024/0.001024, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009936/0.0009939, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.6 MB / 0.5498 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005403/0.0005403, allocations: 17.44 kB / 0.6737 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002425/0.2936, allocations: 1.521 MB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2959, allocations: 1.375 MB / 0.7901 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.714e-05/0.2961, allocations: 4 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.2963, allocations: 23.84 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.2967, allocations: 71.72 kB / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.2971, allocations: 134.7 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.2974, allocations: 165.7 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2976, allocations: 33.31 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2977, allocations: 79.81 kB / 0.7905 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.2979, allocations: 71.8 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.298, allocations: 8 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.2982, allocations: 55.84 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2983, allocations: 75.8 kB / 0.7908 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.2983, allocations: 65.58 kB / 0.7908 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.2987, allocations: 215.6 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2987, allocations: 0 / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.576e-06/0.2987, allocations: 0 / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2988, allocations: 0 / 0.791 GB, free: 7.973 MB / 0.6075 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.000893/0.2996, allocations: 0.4992 MB / 0.7915 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.2997, allocations: 8.031 kB / 0.7915 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.973e-05/0.2998, allocations: 54.55 kB / 0.7916 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.3, allocations: 35.66 kB / 0.7916 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.3004, allocations: 269.5 kB / 0.7919 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3004, allocations: 15.78 kB / 0.7919 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.3005, allocations: 20 kB / 0.7919 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.3009, allocations: 229.4 kB / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3009, allocations: 0 / 0.7921 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.3009, allocations: 7.938 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.301, allocations: 4 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009005/0.3019, allocations: 0.7527 MB / 0.7929 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.303, allocations: 0.6371 MB / 0.7935 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.3035, allocations: 301.9 kB / 0.7938 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.3035, allocations: 24.2 kB / 0.7938 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.3039, allocations: 175.4 kB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.3039, allocations: 0 / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0006549/0.3045, allocations: 375.7 kB / 0.7943 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3047, allocations: 136.4 kB / 0.7944 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.305, allocations: 309 kB / 0.7947 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.305, allocations: 29.7 kB / 0.7948 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3052, allocations: 140.6 kB / 0.7949 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.3053, allocations: 114.3 kB / 0.795 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.3053, allocations: 4 kB / 0.795 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3054, allocations: 342.8 kB / 0.7953 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3056, allocations: 79.95 kB / 0.7954 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3058, allocations: 127.5 kB / 0.7955 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.306, allocations: 104 kB / 0.7956 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.306, allocations: 0 / 0.7956 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004301/0.3064, allocations: 301.3 kB / 0.7959 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3064, allocations: 8 kB / 0.7959 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3064, allocations: 0 / 0.7959 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3065, allocations: 3.938 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.3067, allocations: 67.91 kB / 0.796 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3067, allocations: 3.984 kB / 0.796 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.3069, allocations: 27.83 kB / 0.796 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.3069, allocations: 8 kB / 0.796 GB, free: 2.551 MB / 0.6075 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.000181/0.3071, allocations: 161.8 kB / 0.7962 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.3072, allocations: 31.67 kB / 0.7962 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/0.3079, allocations: 388.5 kB / 0.7966 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3079, allocations: 4 kB / 0.7966 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3079, allocations: 0 / 0.7966 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3079, allocations: 4.031 kB / 0.7966 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.3083, allocations: 341.3 kB / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3083, allocations: 0 / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.3085, allocations: 63.91 kB / 0.797 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3085, allocations: 4 kB / 0.797 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3085, allocations: 11.95 kB / 0.797 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3085, allocations: 0 / 0.797 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3085, allocations: 4 kB / 0.797 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.309, allocations: 326 kB / 0.7973 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.3092, allocations: 156.5 kB / 0.7975 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.3092, allocations: 8 kB / 0.7975 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3094, allocations: 31.94 kB / 0.7975 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.3095, allocations: 31.95 kB / 0.7975 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.3095, allocations: 16 kB / 0.7976 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002125/0.3097, allocations: 236.4 kB / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3097, allocations: 0 / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003077/0.31, allocations: 67.94 kB / 0.7978 GB, free: 0.6016 MB / 0.6075 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.001609/0.3117, allocations: 1.15 MB / 0.799 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.3121, allocations: 228.1 kB / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3121, allocations: 0 / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.3123, allocations: 136.3 kB / 0.7993 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3125, allocations: 40.31 kB / 0.7994 GB, free: 15.18 MB / 0.6231 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.002171/0.3147, allocations: 1.523 MB / 0.8008 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3151, allocations: 0.7692 MB / 0.8016 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.3154, allocations: 146.9 kB / 0.8017 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.3155, allocations: 95.39 kB / 0.8018 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.3155, allocations: 0 / 0.8018 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.51, allocations: 5.843 MB / 0.8075 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.51, allocations: 254.6 kB / 0.8078 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/3.485, allocations: 0 / 0.8078 GB, free: 6.613 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) Environment - environmentSimulation: