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.001145/0.001145, allocations: 101.5 kB / 16.35 MB, free: 6.352 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.001008/0.001008, allocations: 194.2 kB / 17.29 MB, free: 5.93 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.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001448/0.001448, allocations: 67.91 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2032, allocations: 114.6 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00309/0.2063, allocations: 1.6 MB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.2081, allocations: 1.082 MB / 0.7874 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.437e-05/0.2082, allocations: 4 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.2085, allocations: 27.84 kB / 0.7874 GB, free: 380 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.0003467/0.2088, allocations: 63.67 kB / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.2092, allocations: 110.7 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3967/0.606, allocations: 231.7 kB / 0.7878 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.6062, allocations: 16.06 kB / 0.7878 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.6064, allocations: 72.84 kB / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.6066, allocations: 92.66 kB / 0.788 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.6067, allocations: 16.16 kB / 0.788 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.6069, allocations: 64.2 kB / 0.7881 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.607, allocations: 77.55 kB / 0.7881 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.6071, allocations: 101 kB / 0.7882 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.6075, allocations: 278.9 kB / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6075, allocations: 0 / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6075, allocations: 0 / 0.7885 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.6075, allocations: 0 / 0.7885 GB, free: 46.64 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.0007245/0.6082, allocations: 0.5204 MB / 0.789 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6083, allocations: 8.969 kB / 0.789 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/0.6084, allocations: 28.56 kB / 0.789 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.6086, allocations: 264.3 kB / 0.7893 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.6087, allocations: 10.25 kB / 0.7893 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.6087, allocations: 12.91 kB / 0.7893 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.609, allocations: 219.2 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.609, allocations: 1.438 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.6091, allocations: 6.5 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.6091, allocations: 2.625 kB / 0.7895 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.6098, allocations: 0.7404 MB / 0.7903 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.6106, allocations: 0.5643 MB / 0.7908 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.611, allocations: 295.1 kB / 0.7911 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.6112, allocations: 105 kB / 0.7912 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.6112, allocations: 16.7 kB / 0.7912 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.6116, allocations: 183 kB / 0.7914 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.6116, allocations: 0 / 0.7914 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.0005846/0.6122, allocations: 373.1 kB / 0.7917 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.6123, allocations: 132 kB / 0.7919 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.6125, allocations: 299.8 kB / 0.7922 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6125, allocations: 36.05 kB / 0.7922 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.6126, allocations: 127.2 kB / 0.7923 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.6127, allocations: 106.7 kB / 0.7924 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.6127, allocations: 64.08 kB / 0.7925 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.03e-05/0.6128, allocations: 339.2 kB / 0.7928 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.6129, allocations: 83.94 kB / 0.7929 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.6131, allocations: 133.1 kB / 0.793 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.6134, allocations: 212.3 kB / 0.7932 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6134, allocations: 0 / 0.7932 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003536/0.6137, allocations: 280.3 kB / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6137, allocations: 5.25 kB / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6138, allocations: 0 / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.6138, allocations: 3.25 kB / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.614, allocations: 68.28 kB / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.614, allocations: 1.844 kB / 0.7935 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.6141, allocations: 32.16 kB / 0.7936 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.6142, allocations: 9.359 kB / 0.7936 GB, free: 44.6 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.0001174/0.6143, allocations: 165.8 kB / 0.7937 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.6143, allocations: 25.56 kB / 0.7938 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.6148, allocations: 314.8 kB / 0.7941 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6148, allocations: 4.594 kB / 0.7941 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6148, allocations: 2.016 kB / 0.7941 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6148, allocations: 6.625 kB / 0.7941 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.6151, allocations: 332.3 kB / 0.7944 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6151, allocations: 1.688 kB / 0.7944 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.6152, allocations: 53.14 kB / 0.7945 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6152, allocations: 3.438 kB / 0.7945 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.6153, allocations: 13.19 kB / 0.7945 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6153, allocations: 0 / 0.7945 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6153, allocations: 0 / 0.7945 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.6157, allocations: 326.5 kB / 0.7948 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.6158, allocations: 139.4 kB / 0.7949 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.6159, allocations: 13.56 kB / 0.7949 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.616, allocations: 17.31 kB / 0.7949 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.6161, allocations: 23.02 kB / 0.795 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.6161, allocations: 16.98 kB / 0.795 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001636/0.6163, allocations: 232.4 kB / 0.7952 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6163, allocations: 0 / 0.7952 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000277/0.6166, allocations: 55.22 kB / 0.7953 GB, free: 43.95 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.0008842/0.6174, allocations: 409.1 kB / 0.7956 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.6178, allocations: 230.1 kB / 0.7959 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6178, allocations: 0 / 0.7959 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.618, allocations: 127.4 kB / 0.796 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.6182, allocations: 32.81 kB / 0.796 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.6189, allocations: 0.4995 MB / 0.7965 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.6191, allocations: 0.7511 MB / 0.7972 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002804/0.6193, allocations: 144.1 kB / 0.7974 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.6194, allocations: 43.77 kB / 0.7974 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.6194, allocations: 0 / 0.7974 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.00643/0.6259, allocations: 2.968 MB / 0.8003 GB, free: 42.7 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 gbode -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)