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.0009897/0.0009897, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001223/0.001223, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 278.6 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8549/0.8549, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 94.94 kB / 0.5948 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1225, allocations: 86.98 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002712/0.1253, allocations: 1.697 MB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1267, allocations: 1.144 MB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.1267, allocations: 0 / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1269, allocations: 23.92 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1272, allocations: 51.77 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1275, allocations: 128.1 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1277, allocations: 225.6 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.1278, allocations: 26.42 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.372e-05/0.1279, allocations: 79.77 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1281, allocations: 89.64 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.1281, allocations: 20 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1283, allocations: 79.97 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.1284, allocations: 83.75 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.1285, allocations: 103.4 kB / 0.6834 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.1287, allocations: 275.2 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1287, allocations: 4 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1288, allocations: 0 / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1288, allocations: 3.938 kB / 0.6837 GB, free: 12.96 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.0006583/0.1294, allocations: 0.5306 MB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.1295, allocations: 8.031 kB / 0.6842 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.1295, allocations: 50.73 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.1296, allocations: 28.56 kB / 0.6843 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1298, allocations: 259.8 kB / 0.6845 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1298, allocations: 16.38 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1299, allocations: 12.38 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1302, allocations: 221.2 kB / 0.6847 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1302, allocations: 7.984 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1302, allocations: 4 kB / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1302, allocations: 7.938 kB / 0.6848 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007833/0.131, allocations: 0.7371 MB / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.1317, allocations: 0.5705 MB / 0.686 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.1322, allocations: 303.6 kB / 0.6863 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1323, allocations: 105.4 kB / 0.6864 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.1324, allocations: 28.23 kB / 0.6865 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.1327, allocations: 172.9 kB / 0.6866 GB, free: 9.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.1327, allocations: 0 / 0.6866 GB, free: 9.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.0005983/0.1333, allocations: 373.6 kB / 0.687 GB, free: 9.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1333, allocations: 132.5 kB / 0.6871 GB, free: 9.199 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1336, allocations: 303.9 kB / 0.6874 GB, free: 8.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1336, allocations: 33.7 kB / 0.6874 GB, free: 8.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.1337, allocations: 128.8 kB / 0.6875 GB, free: 8.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/0.1338, allocations: 110.3 kB / 0.6876 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.1339, allocations: 61.69 kB / 0.6877 GB, free: 8.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.134, allocations: 338.8 kB / 0.688 GB, free: 8.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1341, allocations: 79.95 kB / 0.6881 GB, free: 8.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1343, allocations: 121.2 kB / 0.6882 GB, free: 8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1346, allocations: 228.9 kB / 0.6884 GB, free: 7.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1346, allocations: 4 kB / 0.6884 GB, free: 7.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004017/0.135, allocations: 273.2 kB / 0.6887 GB, free: 7.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.135, allocations: 7.984 kB / 0.6887 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.135, allocations: 0 / 0.6887 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.135, allocations: 0 / 0.6887 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.1352, allocations: 63.91 kB / 0.6888 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1353, allocations: 4 kB / 0.6888 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1354, allocations: 27.77 kB / 0.6888 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.1354, allocations: 8 kB / 0.6888 GB, free: 7.387 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.0001354/0.1356, allocations: 167.1 kB / 0.689 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1356, allocations: 23.72 kB / 0.689 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006071/0.1362, allocations: 384.4 kB / 0.6894 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1362, allocations: 4 kB / 0.6894 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1363, allocations: 0 / 0.6894 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1363, allocations: 3.938 kB / 0.6894 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.1365, allocations: 329.3 kB / 0.6897 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1365, allocations: 4 kB / 0.6897 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1367, allocations: 51.92 kB / 0.6897 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1367, allocations: 3.984 kB / 0.6897 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1367, allocations: 8 kB / 0.6897 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1368, allocations: 4 kB / 0.6898 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1368, allocations: 4 kB / 0.6898 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.1372, allocations: 331 kB / 0.6901 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1373, allocations: 148.7 kB / 0.6902 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.1373, allocations: 4 kB / 0.6902 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1375, allocations: 15.98 kB / 0.6902 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1375, allocations: 27.91 kB / 0.6903 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1376, allocations: 8 kB / 0.6903 GB, free: 5.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.1377, allocations: 233.8 kB / 0.6905 GB, free: 5.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1378, allocations: 0 / 0.6905 GB, free: 5.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.138, allocations: 59.94 kB / 0.6905 GB, free: 5.512 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.001375/0.1394, allocations: 1.162 MB / 0.6917 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.1399, allocations: 307.8 kB / 0.692 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1399, allocations: 0 / 0.692 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.1401, allocations: 128.4 kB / 0.6921 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.1403, allocations: 39.73 kB / 0.6921 GB, free: 4.008 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.002538/0.1428, allocations: 2.513 MB / 0.6946 GB, free: 1.418 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.1431, allocations: 0.7574 MB / 0.6953 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002858/0.1434, allocations: 142.9 kB / 0.6955 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1435, allocations: 95.39 kB / 0.6956 GB, free: 408 kB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1436, allocations: 4 kB / 0.6956 GB, free: 404 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.071/6.215, allocations: 5.347 MB / 0.7008 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/6.215, allocations: 284.3 kB / 0.7011 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/8.048, allocations: 0 / 0.7011 GB, free: 10.86 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)