Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001017/0.001017, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009599/0.0009598, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.147/1.147, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 279.1 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8516/0.8516, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 94.59 kB / 0.5946 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1272, allocations: 86.97 MB / 0.6795 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002545/0.1297, allocations: 1.696 MB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1311, allocations: 1.14 MB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.1311, allocations: 4 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1313, allocations: 27.86 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1315, allocations: 53.45 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1317, allocations: 118.4 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.132, allocations: 217.6 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.132, allocations: 24.16 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.1321, allocations: 67.83 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1323, allocations: 93.25 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1323, allocations: 8 kB / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1325, allocations: 71.95 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.1325, allocations: 79.69 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.1326, allocations: 91.39 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1329, allocations: 271.2 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1329, allocations: 0 / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1329, allocations: 0 / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.1329, allocations: 0 / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006322/0.1335, allocations: 0.5345 MB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.1336, allocations: 8.031 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.1336, allocations: 46.73 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.1337, allocations: 32.56 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.1339, allocations: 259.8 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.134, allocations: 8.375 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.134, allocations: 16.38 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.1343, allocations: 225.2 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1343, allocations: 0 / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1343, allocations: 8 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1344, allocations: 4 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.1351, allocations: 0.741 MB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.1358, allocations: 0.5744 MB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.1362, allocations: 295.6 kB / 0.6861 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1364, allocations: 101.4 kB / 0.6862 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.1364, allocations: 20.23 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.1367, allocations: 180.9 kB / 0.6863 GB, free: 9.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.492e-06/0.1367, allocations: 4 kB / 0.6863 GB, free: 9.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005919/0.1373, allocations: 369.7 kB / 0.6867 GB, free: 9.574 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.1374, allocations: 136.5 kB / 0.6868 GB, free: 9.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1376, allocations: 303.9 kB / 0.6871 GB, free: 9.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.1377, allocations: 33.64 kB / 0.6872 GB, free: 9.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.1377, allocations: 120.8 kB / 0.6873 GB, free: 8.941 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.1378, allocations: 118.3 kB / 0.6874 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.1379, allocations: 65.69 kB / 0.6874 GB, free: 8.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.138, allocations: 338.8 kB / 0.6878 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1381, allocations: 83.89 kB / 0.6878 GB, free: 8.332 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.1383, allocations: 124.6 kB / 0.688 GB, free: 8.199 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.1386, allocations: 217.6 kB / 0.6882 GB, free: 7.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1386, allocations: 0 / 0.6882 GB, free: 7.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003914/0.139, allocations: 269.2 kB / 0.6884 GB, free: 7.715 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.139, allocations: 7.984 kB / 0.6884 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.139, allocations: 7.938 kB / 0.6884 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.1391, allocations: 4 kB / 0.6884 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1393, allocations: 63.91 kB / 0.6885 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1393, allocations: 0 / 0.6885 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.1394, allocations: 27.77 kB / 0.6885 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.1394, allocations: 16 kB / 0.6886 GB, free: 7.59 MB / 494.1 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 (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 (35): * Single equations (assignments): 35 * 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.0001273/0.1396, allocations: 155.1 kB / 0.6887 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1396, allocations: 27.7 kB / 0.6887 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.1402, allocations: 392.3 kB / 0.6891 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1402, allocations: 4 kB / 0.6891 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1403, allocations: 0 / 0.6891 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1403, allocations: 3.938 kB / 0.6891 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1405, allocations: 329.3 kB / 0.6894 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1405, allocations: 0 / 0.6894 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1407, allocations: 51.92 kB / 0.6895 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1407, allocations: 7.984 kB / 0.6895 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1407, allocations: 16 kB / 0.6895 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1407, allocations: 0 / 0.6895 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1407, allocations: 4 kB / 0.6895 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.1412, allocations: 323.1 kB / 0.6898 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1413, allocations: 140.7 kB / 0.6899 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1413, allocations: 8 kB / 0.6899 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1415, allocations: 13.81 kB / 0.69 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1415, allocations: 35.91 kB / 0.69 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.1416, allocations: 11.98 kB / 0.69 GB, free: 6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1417, allocations: 233.7 kB / 0.6902 GB, free: 5.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1417, allocations: 4 kB / 0.6902 GB, free: 5.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.142, allocations: 63.94 kB / 0.6903 GB, free: 5.707 MB / 494.1 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 (34): * Single equations (assignments): 33 * 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.001339/0.1433, allocations: 1.154 MB / 0.6914 GB, free: 4.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.1437, allocations: 227.9 kB / 0.6916 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.1437, allocations: 0 / 0.6916 GB, free: 4.449 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.1439, allocations: 128.4 kB / 0.6918 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1441, allocations: 36.59 kB / 0.6918 GB, free: 4.289 MB / 494.1 MB 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.002518/0.1466, allocations: 2.513 MB / 0.6943 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1469, allocations: 0.7574 MB / 0.695 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.1472, allocations: 146.9 kB / 0.6951 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1473, allocations: 93.77 kB / 0.6952 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1473, allocations: 4 kB / 0.6952 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.969/3.116, allocations: 5.214 MB / 0.7003 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/3.116, allocations: 286.6 kB / 0.7006 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/4.715, allocations: 0 / 0.7006 GB, free: 11.27 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)