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.0009935/0.0009935, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009461/0.0009462, allocations: 196 kB / 16.53 MB, free: 6.664 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 274.9 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8755/0.8755, allocations: 169.3 MB / 0.4982 GB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 100.2 kB / 0.5954 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1199, allocations: 86.97 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002543/0.1225, allocations: 1.64 MB / 0.6819 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1239, allocations: 1.172 MB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.124, allocations: 3.938 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1242, allocations: 23.84 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.1244, allocations: 68.41 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1248, allocations: 136.6 kB / 0.6833 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.125, allocations: 229.6 kB / 0.6835 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1251, allocations: 21.84 kB / 0.6835 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.1252, allocations: 83.75 kB / 0.6836 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1254, allocations: 91.77 kB / 0.6837 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.1254, allocations: 20 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1256, allocations: 75.98 kB / 0.6838 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.1257, allocations: 83.73 kB / 0.6838 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.1258, allocations: 103.4 kB / 0.6839 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1261, allocations: 275.1 kB / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1261, allocations: 0 / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1261, allocations: 0 / 0.6842 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1261, allocations: 0 / 0.6842 GB, free: 12.61 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.0006626/0.1268, allocations: 0.5345 MB / 0.6847 GB, free: 12.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1268, allocations: 8.031 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.1268, allocations: 54.73 kB / 0.6848 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.1269, allocations: 28.56 kB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1272, allocations: 259.8 kB / 0.6851 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1272, allocations: 12.38 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1272, allocations: 12.38 kB / 0.6851 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1275, allocations: 225.2 kB / 0.6853 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1275, allocations: 0 / 0.6853 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1276, allocations: 8 kB / 0.6853 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1276, allocations: 4 kB / 0.6853 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/0.1283, allocations: 0.7371 MB / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000683/0.129, allocations: 0.5744 MB / 0.6866 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.1295, allocations: 303.6 kB / 0.6869 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.1296, allocations: 97.38 kB / 0.687 GB, free: 9.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1296, allocations: 24.23 kB / 0.687 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.1299, allocations: 172.9 kB / 0.6872 GB, free: 9.391 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.1299, allocations: 4 kB / 0.6872 GB, free: 9.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.000604/0.1305, allocations: 373.6 kB / 0.6875 GB, free: 9.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.1306, allocations: 132.5 kB / 0.6876 GB, free: 8.855 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1309, allocations: 307.9 kB / 0.6879 GB, free: 8.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.1309, allocations: 29.7 kB / 0.688 GB, free: 8.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.131, allocations: 124.8 kB / 0.6881 GB, free: 8.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.1311, allocations: 118.2 kB / 0.6882 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.1311, allocations: 61.69 kB / 0.6883 GB, free: 8.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1313, allocations: 342.8 kB / 0.6886 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1314, allocations: 79.95 kB / 0.6887 GB, free: 7.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.1316, allocations: 121.2 kB / 0.6888 GB, free: 7.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.1319, allocations: 225 kB / 0.689 GB, free: 7.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1319, allocations: 3.938 kB / 0.689 GB, free: 7.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003903/0.1323, allocations: 269.2 kB / 0.6892 GB, free: 7.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1323, allocations: 8 kB / 0.6893 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1323, allocations: 0 / 0.6893 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1323, allocations: 4 kB / 0.6893 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1325, allocations: 63.91 kB / 0.6893 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1325, allocations: 0 / 0.6893 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.1327, allocations: 27.81 kB / 0.6893 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.1327, allocations: 19.97 kB / 0.6894 GB, free: 7.031 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.0001268/0.1328, allocations: 159.1 kB / 0.6895 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.1329, allocations: 27.72 kB / 0.6895 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/0.1335, allocations: 384.4 kB / 0.6899 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1335, allocations: 0 / 0.6899 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1335, allocations: 7.938 kB / 0.6899 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1335, allocations: 7.922 kB / 0.6899 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.1338, allocations: 325.3 kB / 0.6902 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1338, allocations: 0 / 0.6902 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.134, allocations: 55.97 kB / 0.6903 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.134, allocations: 0 / 0.6903 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.134, allocations: 15.98 kB / 0.6903 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.134, allocations: 7.938 kB / 0.6903 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.134, allocations: 0 / 0.6903 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.1344, allocations: 319.1 kB / 0.6906 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1346, allocations: 140.7 kB / 0.6907 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.1346, allocations: 8 kB / 0.6908 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1347, allocations: 15.98 kB / 0.6908 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.1348, allocations: 27.89 kB / 0.6908 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.1348, allocations: 16 kB / 0.6908 GB, free: 5.445 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.135, allocations: 233.8 kB / 0.691 GB, free: 5.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.135, allocations: 0 / 0.691 GB, free: 5.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1353, allocations: 59.94 kB / 0.6911 GB, free: 5.16 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.00134/0.1366, allocations: 1.167 MB / 0.6922 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.1371, allocations: 295.9 kB / 0.6925 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1371, allocations: 0 / 0.6925 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.1373, allocations: 132.4 kB / 0.6926 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.1375, allocations: 38.97 kB / 0.6927 GB, free: 3.656 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.002441/0.14, allocations: 2.442 MB / 0.6951 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1402, allocations: 0.7534 MB / 0.6958 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000285/0.1405, allocations: 146.8 kB / 0.6959 GB, free: 216 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.1407, allocations: 105.3 kB / 0.696 GB, free: 112 kB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1407, allocations: 0 / 0.696 GB, free: 112 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 16.32/16.46, allocations: 5.423 MB / 0.7013 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/27.07, allocations: 20.45 kB / 0.7014 GB, free: 10.83 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)