Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001736/0.001736, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 71.89 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2779, allocations: 114.5 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00368/0.2816, allocations: 1.616 MB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2835, allocations: 1.066 MB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.2836, allocations: 0 / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.2839, allocations: 19.86 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.2842, allocations: 75.61 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.2846, allocations: 114.2 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.2848, allocations: 225.6 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.285, allocations: 20.27 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2851, allocations: 79.77 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2853, allocations: 98.2 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.2854, allocations: 16 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2855, allocations: 59.98 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2856, allocations: 83.78 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2858, allocations: 95.41 kB / 0.7875 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4787/0.7645, allocations: 267.8 kB / 0.7878 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.7645, allocations: 0.7188 kB / 0.7878 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.699e-06/0.7645, allocations: 1.344 kB / 0.7878 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.7646, allocations: 2.812 kB / 0.7878 GB, free: 46.39 MB / 0.6544 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.0008361/0.7654, allocations: 0.5258 MB / 0.7883 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.7654, allocations: 11.44 kB / 0.7883 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.7655, allocations: 26.66 kB / 0.7884 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.7658, allocations: 258.8 kB / 0.7886 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.7658, allocations: 12.45 kB / 0.7886 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.7659, allocations: 18 kB / 0.7886 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.7662, allocations: 213.9 kB / 0.7888 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.7662, allocations: 0 / 0.7888 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.7662, allocations: 9.109 kB / 0.7888 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7662, allocations: 4.656 kB / 0.7888 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.767, allocations: 0.7351 MB / 0.7896 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.7678, allocations: 0.5661 MB / 0.7901 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.7682, allocations: 296.1 kB / 0.7904 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.7684, allocations: 108.4 kB / 0.7905 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.7684, allocations: 16.84 kB / 0.7905 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.7688, allocations: 180.5 kB / 0.7907 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.7688, allocations: 0 / 0.7907 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.0006117/0.7694, allocations: 371.5 kB / 0.791 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.7695, allocations: 133.8 kB / 0.7912 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.7697, allocations: 293.3 kB / 0.7915 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.7697, allocations: 37.64 kB / 0.7915 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.7698, allocations: 124 kB / 0.7916 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.7699, allocations: 109.3 kB / 0.7917 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.77, allocations: 65.52 kB / 0.7918 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.7701, allocations: 342.1 kB / 0.7921 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.7702, allocations: 81.62 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.7703, allocations: 126.7 kB / 0.7923 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.7706, allocations: 216.4 kB / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7706, allocations: 0.5938 kB / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003653/0.771, allocations: 283.4 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.771, allocations: 3.5 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.771, allocations: 5.281 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.7711, allocations: 4.062 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.7713, allocations: 54.06 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7713, allocations: 3.438 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.7714, allocations: 30.06 kB / 0.7929 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.7715, allocations: 13.66 kB / 0.7929 GB, free: 44.37 MB / 0.6544 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.0001238/0.7716, allocations: 170.1 kB / 0.793 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.7716, allocations: 28.45 kB / 0.7931 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004795/0.7721, allocations: 316 kB / 0.7934 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7721, allocations: 3.438 kB / 0.7934 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.7721, allocations: 3.469 kB / 0.7934 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.7722, allocations: 0 / 0.7934 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.7724, allocations: 338.8 kB / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.7724, allocations: 0 / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.7726, allocations: 58.17 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7726, allocations: 1.812 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.7726, allocations: 11.23 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7726, allocations: 1.938 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7726, allocations: 5.812 kB / 0.7938 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.773, allocations: 319.3 kB / 0.7941 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.7731, allocations: 144.2 kB / 0.7942 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.7732, allocations: 3.938 kB / 0.7942 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.7733, allocations: 14.05 kB / 0.7942 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.7733, allocations: 27.97 kB / 0.7943 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.7734, allocations: 6.969 kB / 0.7943 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001478/0.7735, allocations: 238.5 kB / 0.7945 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7735, allocations: 1.219 kB / 0.7945 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002755/0.7738, allocations: 62.2 kB / 0.7946 GB, free: 43.72 MB / 0.6544 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.0009328/0.7748, allocations: 398.4 kB / 0.7949 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.7751, allocations: 229.9 kB / 0.7952 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7752, allocations: 3.281 kB / 0.7952 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.7753, allocations: 132.3 kB / 0.7953 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.7756, allocations: 34.02 kB / 0.7953 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.7763, allocations: 0.4909 MB / 0.7958 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.7766, allocations: 0.7502 MB / 0.7965 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.7769, allocations: 145.3 kB / 0.7967 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.777, allocations: 44.58 kB / 0.7967 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of SimCode: time 4.6e-07/0.777, allocations: 0 / 0.7967 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.007124/0.7841, allocations: 2.968 MB / 0.7996 GB, free: 42.49 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)