Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_dev_IDEAS_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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001247/0.001248, allocations: 194.3 kB / 16.14 MB, free: 6.656 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.19/1.19, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8199/0.8199, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 72.45 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1206, allocations: 80.93 MB / 0.5838 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002478/0.1231, allocations: 1.667 MB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1244, allocations: 1.136 MB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.1244, allocations: 0 / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1246, allocations: 23.91 kB / 0.5866 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1248, allocations: 54.66 kB / 0.5866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1251, allocations: 123.1 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1253, allocations: 205.7 kB / 0.587 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.1254, allocations: 23.91 kB / 0.587 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.1254, allocations: 63.89 kB / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1256, allocations: 79.77 kB / 0.5871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.1256, allocations: 12 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1258, allocations: 59.98 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.1259, allocations: 91.67 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.1259, allocations: 95.39 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1262, allocations: 267.4 kB / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1262, allocations: 0 / 0.5876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1262, allocations: 4 kB / 0.5876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1262, allocations: 0 / 0.5876 GB, free: 0.9727 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006338/0.1269, allocations: 0.5229 MB / 0.5881 GB, free: 412 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1269, allocations: 8.031 kB / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.127, allocations: 50.73 kB / 0.5882 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.127, allocations: 32.59 kB / 0.5882 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.1273, allocations: 263.8 kB / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1273, allocations: 8.375 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.1273, allocations: 16.42 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1276, allocations: 208.7 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1276, allocations: 0 / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1277, allocations: 11.98 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1277, allocations: 8 kB / 0.5887 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.1284, allocations: 0.7295 MB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007139/0.1292, allocations: 0.5628 MB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.1296, allocations: 295.6 kB / 0.5903 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.1298, allocations: 105.4 kB / 0.5904 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.1298, allocations: 20.23 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.1301, allocations: 176.9 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.1301, allocations: 0 / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.0005998/0.1307, allocations: 373.7 kB / 0.5909 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1308, allocations: 132.5 kB / 0.591 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.131, allocations: 297.4 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1311, allocations: 37.64 kB / 0.5913 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.1311, allocations: 120.7 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.1312, allocations: 110.4 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.1313, allocations: 65.69 kB / 0.5916 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.1314, allocations: 338.8 kB / 0.5919 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1315, allocations: 79.95 kB / 0.592 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.1317, allocations: 140.2 kB / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.132, allocations: 215.1 kB / 0.5924 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.132, allocations: 0 / 0.5924 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004002/0.1324, allocations: 277.1 kB / 0.5926 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1324, allocations: 8 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1324, allocations: 0 / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.1325, allocations: 0 / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1327, allocations: 63.91 kB / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1327, allocations: 0 / 0.5927 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.1328, allocations: 23.83 kB / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.1329, allocations: 23.94 kB / 0.5927 GB, free: 11.43 MB / 0.4981 GB 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.0001261/0.133, allocations: 161.7 kB / 0.5929 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.133, allocations: 23.72 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006168/0.1337, allocations: 384.4 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1337, allocations: 4 kB / 0.5933 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1337, allocations: 4 kB / 0.5933 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1337, allocations: 4 kB / 0.5933 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.134, allocations: 333.1 kB / 0.5936 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.134, allocations: 0 / 0.5936 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1341, allocations: 55.91 kB / 0.5937 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1341, allocations: 4 kB / 0.5937 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1342, allocations: 8 kB / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1342, allocations: 0 / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1342, allocations: 0 / 0.5937 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.1346, allocations: 331.1 kB / 0.594 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1347, allocations: 144.6 kB / 0.5941 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.1348, allocations: 8 kB / 0.5941 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1349, allocations: 11.98 kB / 0.5942 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.135, allocations: 23.97 kB / 0.5942 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.135, allocations: 15.98 kB / 0.5942 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001785/0.1352, allocations: 233.5 kB / 0.5944 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1352, allocations: 0 / 0.5944 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002601/0.1354, allocations: 59.98 kB / 0.5945 GB, free: 9.559 MB / 0.4981 GB 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.001334/0.1368, allocations: 1.159 MB / 0.5956 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.1371, allocations: 223.8 kB / 0.5958 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1371, allocations: 0 / 0.5958 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.1373, allocations: 132.4 kB / 0.5959 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1376, allocations: 43.84 kB / 0.596 GB, free: 8.156 MB / 0.4981 GB 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.002509/0.1401, allocations: 2.506 MB / 0.5984 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1403, allocations: 0.7542 MB / 0.5992 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.1406, allocations: 142.8 kB / 0.5993 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1408, allocations: 91.39 kB / 0.5994 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1408, allocations: 7.938 kB / 0.5994 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6529/0.7937, allocations: 5.169 MB / 0.6044 GB, free: 52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001298/0.7938, allocations: 270.4 kB / 0.6047 GB, free: 51.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.71, allocations: 0 / 0.6047 GB, free: 51.68 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)