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.001116/0.001116, allocations: 102.3 kB / 16.36 MB, free: 6.301 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.001059/0.00106, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001486/0.001486, allocations: 71.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.251, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003411/0.2545, allocations: 1.619 MB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2562, allocations: 1.074 MB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.2563, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.2565, allocations: 23.84 kB / 0.7874 GB, free: 460 kB / 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.0003787/0.2569, allocations: 63.64 kB / 0.7875 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.2573, allocations: 114.9 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.2577, allocations: 229.6 kB / 0.7878 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2578, allocations: 16 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4583/0.7161, allocations: 78.91 kB / 0.7879 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.7165, allocations: 89.34 kB / 0.788 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.7166, allocations: 18.38 kB / 0.788 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.7168, allocations: 59.88 kB / 0.7881 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.7169, allocations: 77.28 kB / 0.7882 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.717, allocations: 103.3 kB / 0.7883 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.7173, allocations: 272.4 kB / 0.7885 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7174, allocations: 3.938 kB / 0.7885 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7174, allocations: 5.844 kB / 0.7885 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.7174, allocations: 0 / 0.7885 GB, free: 46.38 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.0006712/0.7181, allocations: 0.5208 MB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.7181, allocations: 10.97 kB / 0.789 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.7182, allocations: 23.16 kB / 0.7891 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.7184, allocations: 262.5 kB / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.7184, allocations: 9.5 kB / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.7185, allocations: 17.69 kB / 0.7893 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.7188, allocations: 216.8 kB / 0.7895 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7188, allocations: 0 / 0.7895 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.7188, allocations: 7.75 kB / 0.7896 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7188, allocations: 2.625 kB / 0.7896 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.7195, allocations: 0.7359 MB / 0.7903 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/0.7203, allocations: 0.5635 MB / 0.7908 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.7208, allocations: 298.7 kB / 0.7911 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.721, allocations: 106.3 kB / 0.7912 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/0.721, allocations: 22.16 kB / 0.7912 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.7214, allocations: 174.7 kB / 0.7914 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.7214, allocations: 0 / 0.7914 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.0006659/0.7221, allocations: 378.4 kB / 0.7918 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.7222, allocations: 132 kB / 0.7919 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.7224, allocations: 301.1 kB / 0.7922 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.7224, allocations: 34.23 kB / 0.7922 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.7225, allocations: 126.2 kB / 0.7923 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.7226, allocations: 107 kB / 0.7924 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.7227, allocations: 66.84 kB / 0.7925 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.7227, allocations: 343 kB / 0.7928 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.7229, allocations: 81.05 kB / 0.7929 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.723, allocations: 127.9 kB / 0.793 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.7233, allocations: 209.8 kB / 0.7932 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7233, allocations: 0 / 0.7932 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003676/0.7237, allocations: 283.8 kB / 0.7935 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7237, allocations: 8.719 kB / 0.7935 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7237, allocations: 0 / 0.7935 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7237, allocations: 1.219 kB / 0.7935 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.724, allocations: 65.72 kB / 0.7936 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.724, allocations: 1.594 kB / 0.7936 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.7241, allocations: 27.53 kB / 0.7936 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.7241, allocations: 12.88 kB / 0.7936 GB, free: 44.34 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.0001255/0.7243, allocations: 168.8 kB / 0.7938 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.7243, allocations: 25.62 kB / 0.7938 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.7248, allocations: 314.2 kB / 0.7941 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7248, allocations: 7.5 kB / 0.7941 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7248, allocations: 1.312 kB / 0.7941 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7248, allocations: 1.062 kB / 0.7941 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.7251, allocations: 332.1 kB / 0.7944 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7251, allocations: 6.234 kB / 0.7944 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.7253, allocations: 59.7 kB / 0.7945 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7253, allocations: 0 / 0.7945 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.7253, allocations: 13.25 kB / 0.7945 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.7253, allocations: 5.984 kB / 0.7945 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7253, allocations: 0 / 0.7945 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.7257, allocations: 319.5 kB / 0.7948 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.7258, allocations: 141.8 kB / 0.7949 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.7258, allocations: 8.156 kB / 0.7949 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.726, allocations: 14.52 kB / 0.795 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.726, allocations: 26.19 kB / 0.795 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.7261, allocations: 16.31 kB / 0.795 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001494/0.7262, allocations: 236.3 kB / 0.7952 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7262, allocations: 0 / 0.7952 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002625/0.7265, allocations: 52.78 kB / 0.7953 GB, free: 43.69 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.0009015/0.7274, allocations: 404.6 kB / 0.7957 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.7278, allocations: 233.5 kB / 0.7959 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7278, allocations: 0 / 0.7959 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.7279, allocations: 124.4 kB / 0.796 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.7282, allocations: 36.03 kB / 0.796 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.7289, allocations: 0.5282 MB / 0.7965 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.7291, allocations: 0.7608 MB / 0.7973 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.7292, allocations: 48.5 kB / 0.7973 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7292, allocations: 2.562 kB / 0.7973 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.007135/0.7364, allocations: 4.165 MB / 0.8014 GB, free: 42.3 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 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)