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.00159/0.00159, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001577/0.001577, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.356/1.356, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005907/0.0005909, allocations: 9.844 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2134, allocations: 82.31 MB / 0.5873 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002488/0.2159, allocations: 1.303 MB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.218, allocations: 1.064 MB / 0.5896 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.2181, allocations: 0 / 0.5896 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.2183, allocations: 19.92 kB / 0.5896 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.2186, allocations: 62.62 kB / 0.5897 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.2191, allocations: 116 kB / 0.5898 GB, free: 440 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.2194, allocations: 141.8 kB / 0.5899 GB, free: 300 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2196, allocations: 12 kB / 0.5899 GB, free: 288 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.2197, allocations: 67.81 kB / 0.59 GB, free: 220 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2199, allocations: 55.81 kB / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.22, allocations: 12 kB / 0.5901 GB, free: 152 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.2202, allocations: 59.91 kB / 0.5901 GB, free: 92 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.2203, allocations: 63.81 kB / 0.5902 GB, free: 28 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.2204, allocations: 57.58 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.2207, allocations: 195.9 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.2207, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2207, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2207, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB 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.0009251/0.2217, allocations: 495.4 kB / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2217, allocations: 8.031 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.636e-05/0.2218, allocations: 50.55 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.2219, allocations: 23.72 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.2223, allocations: 262.5 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2223, allocations: 12 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.2224, allocations: 12 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.2229, allocations: 212.8 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2229, allocations: 0 / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.223, allocations: 4 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.223, allocations: 4 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.2244, allocations: 0.7373 MB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.2257, allocations: 0.5667 MB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.2265, allocations: 295.7 kB / 0.593 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/0.2265, allocations: 24.23 kB / 0.593 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.227, allocations: 166.1 kB / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.655e-06/0.227, allocations: 3.938 kB / 0.5932 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.001002/0.228, allocations: 369.6 kB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.2281, allocations: 136.5 kB / 0.5937 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.2286, allocations: 302.5 kB / 0.594 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.2286, allocations: 29.7 kB / 0.594 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2287, allocations: 124.8 kB / 0.5941 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2289, allocations: 118.3 kB / 0.5942 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.2289, allocations: 8 kB / 0.5942 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2291, allocations: 330.8 kB / 0.5946 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.2293, allocations: 79.95 kB / 0.5946 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.2296, allocations: 128.3 kB / 0.5948 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.2299, allocations: 105.7 kB / 0.5949 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.23, allocations: 3.938 kB / 0.5949 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000692/0.2307, allocations: 277.8 kB / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.2307, allocations: 8 kB / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2307, allocations: 0 / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.2308, allocations: 0 / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2312, allocations: 59.91 kB / 0.5952 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2312, allocations: 0 / 0.5952 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.2314, allocations: 39.69 kB / 0.5952 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.2315, allocations: 19.97 kB / 0.5952 GB, free: 10.56 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.2318, allocations: 160.2 kB / 0.5954 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.2318, allocations: 27.72 kB / 0.5954 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.2329, allocations: 384.5 kB / 0.5958 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2329, allocations: 3.984 kB / 0.5958 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.2329, allocations: 4 kB / 0.5958 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.233, allocations: 7.922 kB / 0.5958 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.2334, allocations: 325.3 kB / 0.5961 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2335, allocations: 0 / 0.5961 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.2338, allocations: 51.97 kB / 0.5962 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2338, allocations: 4 kB / 0.5962 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.2338, allocations: 8 kB / 0.5962 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2338, allocations: 0 / 0.5962 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2338, allocations: 7.922 kB / 0.5962 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006939/0.2345, allocations: 327 kB / 0.5965 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.2348, allocations: 152.6 kB / 0.5966 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.2348, allocations: 4 kB / 0.5966 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2351, allocations: 21.86 kB / 0.5967 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.2352, allocations: 27.91 kB / 0.5967 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.2352, allocations: 12 kB / 0.5967 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003051/0.2355, allocations: 232.4 kB / 0.5969 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2355, allocations: 0 / 0.5969 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005061/0.2361, allocations: 56 kB / 0.597 GB, free: 8.68 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 (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.002227/0.2383, allocations: 1.148 MB / 0.5981 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005948/0.2389, allocations: 227.8 kB / 0.5983 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2389, allocations: 0 / 0.5983 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.2392, allocations: 123.9 kB / 0.5984 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2395, allocations: 31.47 kB / 0.5985 GB, free: 7.293 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.003208/0.2428, allocations: 1.453 MB / 0.5999 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.2432, allocations: 0.7581 MB / 0.6006 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005076/0.2437, allocations: 142.9 kB / 0.6008 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.2439, allocations: 95.39 kB / 0.6009 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.2439, allocations: 0 / 0.6009 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8813/1.125, allocations: 5.309 MB / 0.606 GB, free: 48.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.125, allocations: 238.5 kB / 0.6063 GB, free: 48.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/3.023, allocations: 3.75 kB / 0.6063 GB, free: 48.35 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/linux/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) Environment - environmentSimulation: