Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_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.001049/0.001049, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001104/0.001105, allocations: 193.7 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.172/2.172, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.91 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4733, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002618/0.4759, allocations: 1.93 MB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.4777, allocations: 1.557 MB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.4777, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.4779, allocations: 27.91 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.4781, allocations: 67.44 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.4785, allocations: 151.2 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002563/0.4787, allocations: 285.2 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.4788, allocations: 39.34 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.693e-05/0.4789, allocations: 91.81 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.4791, allocations: 103.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.4792, allocations: 20 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.4793, allocations: 95.95 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.4794, allocations: 91.73 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.413e-05/0.4795, allocations: 123.3 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.4798, allocations: 319 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4798, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4798, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.4798, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006759/0.4805, allocations: 0.5579 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.4805, allocations: 8.031 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.4806, allocations: 54.73 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.4807, allocations: 40.48 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.481, allocations: 282.6 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.481, allocations: 20.31 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.481, allocations: 19.94 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.4814, allocations: 236.9 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.4814, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.4814, allocations: 8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4814, allocations: 8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.4822, allocations: 0.749 MB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.4831, allocations: 0.6331 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.4835, allocations: 309.9 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.4837, allocations: 109.4 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.4837, allocations: 20.25 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.484, allocations: 176.8 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.484, allocations: 0 / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0005956/0.4846, allocations: 392.6 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.4847, allocations: 136.5 kB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.4849, allocations: 309 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.485, allocations: 29.7 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.485, allocations: 132.6 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.4851, allocations: 122.3 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.4852, allocations: 65.69 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4853, allocations: 338.8 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4854, allocations: 79.95 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4856, allocations: 127.2 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.4859, allocations: 222.2 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4859, allocations: 4 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003843/0.4863, allocations: 277.2 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4863, allocations: 9.5 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4863, allocations: 4 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.4863, allocations: 0 / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.4865, allocations: 63.89 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.4865, allocations: 4 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.4867, allocations: 27.75 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.4867, allocations: 15.98 kB / 1.027 GB, free: 8.02 MB / 0.7794 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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.000126/0.4869, allocations: 161.8 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.4869, allocations: 27.66 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005981/0.4875, allocations: 388.9 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4875, allocations: 7.938 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4875, allocations: 0 / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4875, allocations: 3.984 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4878, allocations: 345.1 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4878, allocations: 7.922 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.488, allocations: 51.98 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.488, allocations: 11.92 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.488, allocations: 8.047 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.488, allocations: 0 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.488, allocations: 7.922 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.4885, allocations: 329.6 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.4886, allocations: 140.7 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.4886, allocations: 11.94 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4888, allocations: 27.97 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.4889, allocations: 23.97 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.4889, allocations: 11.98 kB / 1.029 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001741/0.4891, allocations: 240.5 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4891, allocations: 0 / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002582/0.4893, allocations: 71.83 kB / 1.029 GB, free: 6.078 MB / 0.7794 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.001319/0.4907, allocations: 1.164 MB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.4911, allocations: 299.7 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4911, allocations: 4 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.4913, allocations: 131.8 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.4916, allocations: 49.08 kB / 1.03 GB, free: 4.555 MB / 0.7794 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.002545/0.4941, allocations: 2.599 MB / 1.033 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4944, allocations: 0.7653 MB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002924/0.4947, allocations: 146.9 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.4948, allocations: 99.39 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4948, allocations: 0 / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/1.852, allocations: 5.863 MB / 1.04 GB, free: 11.16 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003335/1.853, allocations: 284.5 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/3.655, allocations: 4 kB / 1.04 GB, free: 10.78 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)