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.571/2.571, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.002427/0.002426, allocations: 189.3 kB / 370.8 MB, free: 10.87 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.089/2.089, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.00157/0.001569, allocations: 104.3 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005123/0.0005124, allocations: 12.06 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2445, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9315/1.176, allocations: 142.1 MB / 1.117 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.176, allocations: 95.77 kB / 1.117 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0346/1.211, allocations: 8.931 MB / 1.126 GB, free: 30.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.514e-06/1.211, allocations: 0 / 1.126 GB, free: 30.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.435e-05/1.211, allocations: 3.938 kB / 1.126 GB, free: 30.93 MB / 0.698 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.0009593/1.212, allocations: 0.5224 MB / 1.126 GB, free: 30.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.212, allocations: 11.56 kB / 1.126 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.876e-05/1.212, allocations: 47.48 kB / 1.126 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/1.212, allocations: 37.52 kB / 1.127 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/1.213, allocations: 276.3 kB / 1.127 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/1.213, allocations: 13.11 kB / 1.127 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/1.213, allocations: 18.59 kB / 1.127 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/1.214, allocations: 237.2 kB / 1.127 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.214, allocations: 0 / 1.127 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/1.214, allocations: 7 kB / 1.127 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.214, allocations: 9.594 kB / 1.127 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/1.215, allocations: 0.7418 MB / 1.128 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/1.216, allocations: 0.6118 MB / 1.128 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/1.217, allocations: 302.5 kB / 1.129 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/1.217, allocations: 18.5 kB / 1.129 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/1.218, allocations: 192.9 kB / 1.129 GB, free: 29.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.056e-06/1.218, allocations: 4 kB / 1.129 GB, free: 29.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.001008/1.219, allocations: 369.2 kB / 1.129 GB, free: 29.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/1.219, allocations: 136.2 kB / 1.129 GB, free: 29.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/1.219, allocations: 272.8 kB / 1.13 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/1.219, allocations: 32.7 kB / 1.13 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.22, allocations: 128.5 kB / 1.13 GB, free: 29.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.22, allocations: 121.8 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/1.22, allocations: 3.625 kB / 1.13 GB, free: 29.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.22, allocations: 343.2 kB / 1.13 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/1.22, allocations: 83.09 kB / 1.13 GB, free: 28.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/1.22, allocations: 125.3 kB / 1.13 GB, free: 28.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/1.221, allocations: 100.2 kB / 1.131 GB, free: 28.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.221, allocations: 0 / 1.131 GB, free: 28.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006947/1.221, allocations: 279.8 kB / 1.131 GB, free: 28.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/1.222, allocations: 5.719 kB / 1.131 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.222, allocations: 4 kB / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.222, allocations: 7.922 kB / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/1.222, allocations: 62.72 kB / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.222, allocations: 3.906 kB / 1.131 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/1.222, allocations: 28.25 kB / 1.131 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/1.222, allocations: 17.55 kB / 1.131 GB, free: 28.78 MB / 0.698 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.0002546/1.223, allocations: 166.5 kB / 1.131 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/1.223, allocations: 27.09 kB / 1.131 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/1.224, allocations: 395.9 kB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.224, allocations: 3.844 kB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.224, allocations: 3.953 kB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.224, allocations: 1.734 kB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/1.224, allocations: 352.7 kB / 1.132 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.224, allocations: 0 / 1.132 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/1.225, allocations: 62.06 kB / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.225, allocations: 4 kB / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/1.225, allocations: 7.781 kB / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.225, allocations: 10.22 kB / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.225, allocations: 0 / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/1.225, allocations: 321.5 kB / 1.132 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/1.226, allocations: 163.5 kB / 1.132 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/1.226, allocations: 10.59 kB / 1.132 GB, free: 28.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/1.226, allocations: 29.98 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/1.226, allocations: 30.92 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/1.226, allocations: 7.812 kB / 1.132 GB, free: 28.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003303/1.227, allocations: 232.2 kB / 1.133 GB, free: 28.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.227, allocations: 0 / 1.133 GB, free: 28.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004597/1.227, allocations: 79.41 kB / 1.133 GB, free: 28.04 MB / 0.698 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.002058/1.229, allocations: 1.162 MB / 1.134 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006214/1.23, allocations: 227.5 kB / 1.134 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/1.23, allocations: 0 / 1.134 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/1.23, allocations: 129.6 kB / 1.134 GB, free: 27.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/1.23, allocations: 41.23 kB / 1.134 GB, free: 27.23 MB / 0.698 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/1.234, allocations: 1.534 MB / 1.136 GB, free: 26.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/1.234, allocations: 0.7712 MB / 1.136 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006043/1.235, allocations: 148.4 kB / 1.137 GB, free: 25.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/1.235, allocations: 100.4 kB / 1.137 GB, free: 25.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/1.235, allocations: 0 / 1.137 GB, free: 25.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5069/1.742, allocations: 6.017 MB / 1.143 GB, free: 22.84 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003461/1.742, allocations: 253.5 kB / 1.143 GB, free: 22.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/4.491, allocations: 0 / 1.143 GB, free: 22.51 MB / 0.698 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)