Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5016/0.5016, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 223.1 MB / 354.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000894/0.0008939, allocations: 103.2 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003163, allocations: 12 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 72.3 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.568, allocations: 106.3 MB / 0.6727 GB, free: 14.13 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5683, allocations: 95.92 kB / 0.6728 GB, free: 14.04 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02462/0.593, allocations: 9.195 MB / 0.6818 GB, free: 4.852 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.593, allocations: 0 / 0.6818 GB, free: 4.852 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.593, allocations: 8 kB / 0.6818 GB, free: 4.844 MB / 474.7 MB 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.0008544/0.5939, allocations: 0.5342 MB / 0.6823 GB, free: 4.258 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.594, allocations: 8.031 kB / 0.6824 GB, free: 4.25 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.401e-05/0.5941, allocations: 50.55 kB / 0.6824 GB, free: 4.191 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.5942, allocations: 39.56 kB / 0.6824 GB, free: 4.152 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.5946, allocations: 277.6 kB / 0.6827 GB, free: 3.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.5947, allocations: 15.78 kB / 0.6827 GB, free: 3.824 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.5947, allocations: 16 kB / 0.6827 GB, free: 3.809 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.5951, allocations: 228.8 kB / 0.683 GB, free: 3.566 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5951, allocations: 3.938 kB / 0.683 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.5951, allocations: 8 kB / 0.683 GB, free: 3.555 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5951, allocations: 4 kB / 0.683 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00086/0.596, allocations: 0.7527 MB / 0.6837 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.5969, allocations: 0.602 MB / 0.6843 GB, free: 2.141 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.5974, allocations: 305.9 kB / 0.6846 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.5975, allocations: 16.25 kB / 0.6846 GB, free: 1.816 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.5978, allocations: 179.6 kB / 0.6848 GB, free: 1.629 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.5978, allocations: 3.938 kB / 0.6848 GB, free: 1.625 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006523/0.5985, allocations: 380.7 kB / 0.6851 GB, free: 1.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.5986, allocations: 132.5 kB / 0.6853 GB, free: 1.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.5989, allocations: 272.1 kB / 0.6855 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.5989, allocations: 29.7 kB / 0.6856 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.599, allocations: 132.6 kB / 0.6857 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.804e-05/0.5991, allocations: 126.3 kB / 0.6858 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5991, allocations: 4 kB / 0.6858 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5993, allocations: 338.8 kB / 0.6861 GB, free: 184 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.5994, allocations: 83.89 kB / 0.6862 GB, free: 100 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.5996, allocations: 127.3 kB / 0.6863 GB, free: 15.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.5998, allocations: 105.6 kB / 0.6864 GB, free: 15.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5998, allocations: 0 / 0.6864 GB, free: 15.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004145/0.6002, allocations: 285 kB / 0.6867 GB, free: 15.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6002, allocations: 4 kB / 0.6867 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6002, allocations: 0 / 0.6867 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6003, allocations: 4 kB / 0.6867 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.6005, allocations: 59.91 kB / 0.6868 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6005, allocations: 0 / 0.6868 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.6007, allocations: 31.83 kB / 0.6868 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.6007, allocations: 11.98 kB / 0.6868 GB, free: 15.46 MB / 490.7 MB 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.0001616/0.6009, allocations: 165.8 kB / 0.687 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.6009, allocations: 31.58 kB / 0.687 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/0.6016, allocations: 388.5 kB / 0.6874 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.6017, allocations: 7.938 kB / 0.6874 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6017, allocations: 0 / 0.6874 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.6017, allocations: 0 / 0.6874 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.602, allocations: 353.2 kB / 0.6877 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.602, allocations: 4 kB / 0.6877 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.6022, allocations: 55.97 kB / 0.6878 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6022, allocations: 0 / 0.6878 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.6022, allocations: 19.89 kB / 0.6878 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.6022, allocations: 4 kB / 0.6878 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6022, allocations: 0 / 0.6878 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004327/0.6027, allocations: 326.1 kB / 0.6881 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.6029, allocations: 156.7 kB / 0.6883 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.6029, allocations: 11.94 kB / 0.6883 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.6031, allocations: 35.97 kB / 0.6883 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.6032, allocations: 27.95 kB / 0.6883 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.6032, allocations: 8 kB / 0.6883 GB, free: 13.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.6034, allocations: 228.4 kB / 0.6885 GB, free: 13.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6034, allocations: 4 kB / 0.6886 GB, free: 13.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.6038, allocations: 79.84 kB / 0.6886 GB, free: 13.5 MB / 490.7 MB 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.001488/0.6053, allocations: 1.163 MB / 0.6898 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.6057, allocations: 228.1 kB / 0.69 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6057, allocations: 0 / 0.69 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.6059, allocations: 131.8 kB / 0.6901 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.6061, allocations: 42.81 kB / 0.6901 GB, free: 12.07 MB / 490.7 MB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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.002157/0.6083, allocations: 1.539 MB / 0.6917 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.6086, allocations: 0.7658 MB / 0.6924 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.609, allocations: 158.9 kB / 0.6926 GB, free: 9.527 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.6091, allocations: 103.4 kB / 0.6927 GB, free: 9.426 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6092, allocations: 0 / 0.6927 GB, free: 9.426 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.039/2.648, allocations: 5.991 MB / 0.6985 GB, free: 3.637 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/2.648, allocations: 253.2 kB / 0.6987 GB, free: 3.297 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/4.885, allocations: 0 / 0.6987 GB, free: 3.297 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)