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.00139/0.00139, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5/0.5, allocations: 90.81 MB / 104.5 MB, free: 13.91 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.417/1.417, allocations: 221.3 MB / 348.3 MB, free: 12.55 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.001028/0.001028, allocations: 91.94 kB / 421.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.782e-05, allocations: 7.984 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5895, allocations: 106.2 MB / 0.6641 GB, free: 1.676 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.5898, allocations: 89.02 kB / 0.6642 GB, free: 1.629 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02357/0.6133, allocations: 8.987 MB / 0.673 GB, free: 9.695 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6134, allocations: 0 / 0.673 GB, free: 9.695 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.6134, allocations: 8 kB / 0.673 GB, free: 9.688 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.0006557/0.6141, allocations: 0.4987 MB / 0.6734 GB, free: 9.141 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.6141, allocations: 11.98 kB / 0.6735 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/0.6142, allocations: 50.55 kB / 0.6735 GB, free: 9.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.6143, allocations: 35.58 kB / 0.6735 GB, free: 9.035 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.6147, allocations: 277.6 kB / 0.6738 GB, free: 8.727 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.6147, allocations: 19.72 kB / 0.6738 GB, free: 8.707 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.6148, allocations: 12 kB / 0.6738 GB, free: 8.695 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.6151, allocations: 232.7 kB / 0.6741 GB, free: 8.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6152, allocations: 0 / 0.6741 GB, free: 8.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.6152, allocations: 19.92 kB / 0.6741 GB, free: 8.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6152, allocations: 4 kB / 0.6741 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/0.6161, allocations: 0.741 MB / 0.6748 GB, free: 7.684 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009705/0.6171, allocations: 0.602 MB / 0.6754 GB, free: 7.027 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.6175, allocations: 301.9 kB / 0.6757 GB, free: 6.727 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.6177, allocations: 105.4 kB / 0.6758 GB, free: 6.621 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.6178, allocations: 20.25 kB / 0.6758 GB, free: 6.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.6181, allocations: 175.5 kB / 0.676 GB, free: 6.418 MB / 474.7 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.6181, allocations: 0 / 0.676 GB, free: 6.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004865/0.6186, allocations: 284.9 kB / 0.6762 GB, free: 6.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.6187, allocations: 140.5 kB / 0.6764 GB, free: 5.965 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.6189, allocations: 261 kB / 0.6766 GB, free: 5.703 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.619, allocations: 33.7 kB / 0.6767 GB, free: 5.664 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.6191, allocations: 140.7 kB / 0.6768 GB, free: 5.523 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.6192, allocations: 110.4 kB / 0.6769 GB, free: 5.414 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.6192, allocations: 4 kB / 0.6769 GB, free: 5.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6193, allocations: 342.8 kB / 0.6772 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.6195, allocations: 79.97 kB / 0.6773 GB, free: 4.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.6196, allocations: 115.4 kB / 0.6774 GB, free: 4.863 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.6198, allocations: 108.5 kB / 0.6775 GB, free: 4.758 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6198, allocations: 0 / 0.6775 GB, free: 4.758 MB / 474.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004042/0.6202, allocations: 277.1 kB / 0.6778 GB, free: 4.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.6203, allocations: 12 kB / 0.6778 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6203, allocations: 0 / 0.6778 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6203, allocations: 0 / 0.6778 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.6205, allocations: 59.91 kB / 0.6778 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.6205, allocations: 4 kB / 0.6778 GB, free: 4.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6207, allocations: 35.67 kB / 0.6779 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.6208, allocations: 12 kB / 0.6779 GB, free: 4.359 MB / 474.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 () * 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.0001035/0.6209, allocations: 123.3 kB / 0.678 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.6209, allocations: 31.67 kB / 0.678 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/0.6216, allocations: 376.7 kB / 0.6784 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6216, allocations: 4 kB / 0.6784 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6216, allocations: 0 / 0.6784 GB, free: 3.824 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6216, allocations: 3.984 kB / 0.6784 GB, free: 3.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.622, allocations: 353.2 kB / 0.6787 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.622, allocations: 7.938 kB / 0.6788 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.6222, allocations: 63.84 kB / 0.6788 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6222, allocations: 7.953 kB / 0.6788 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.6222, allocations: 15.98 kB / 0.6788 GB, free: 3.332 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6222, allocations: 4 kB / 0.6788 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6222, allocations: 0 / 0.6788 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.6227, allocations: 318 kB / 0.6791 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.6228, allocations: 160.6 kB / 0.6793 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.6229, allocations: 11.95 kB / 0.6793 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.6231, allocations: 31.97 kB / 0.6793 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.6232, allocations: 23.97 kB / 0.6794 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.6232, allocations: 19.98 kB / 0.6794 GB, free: 2.738 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.6234, allocations: 217.3 kB / 0.6796 GB, free: 2.527 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6234, allocations: 0 / 0.6796 GB, free: 2.527 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.6237, allocations: 75.94 kB / 0.6797 GB, free: 2.453 MB / 474.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) * 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.001481/0.6252, allocations: 1.118 MB / 0.6808 GB, free: 1.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.6256, allocations: 227.8 kB / 0.681 GB, free: 1.203 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6256, allocations: 3.938 kB / 0.681 GB, free: 1.199 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.6258, allocations: 123.9 kB / 0.6811 GB, free: 1.078 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.626, allocations: 40.36 kB / 0.6811 GB, free: 1.039 MB / 474.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.0009403/0.627, allocations: 0.5021 MB / 0.6816 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.6273, allocations: 0.773 MB / 0.6824 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000335/0.6277, allocations: 150.8 kB / 0.6825 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6278, allocations: 99.39 kB / 0.6826 GB, free: 15.46 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6278, allocations: 4 kB / 0.6826 GB, free: 15.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/0.8384, allocations: 5.967 MB / 0.6884 GB, free: 9.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.8386, allocations: 223.8 kB / 0.6887 GB, free: 9.434 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.7, allocations: 0 / 0.6887 GB, free: 9.434 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)